(beta) Login local_offer
tags
mail
contact us

Predict the output or error(s):

main()
{
    char *p;
    p="Hello";
    printf("%c\n",*&*p);
}
Dec 27, 2017 08:35:25 UTC

Predict the output or error(s) for the following:

main()
{
    int c=- -2;
    printf("c=%d",c);
}
Dec 27, 2017 08:32:26 UTC

Predict the output or error(s) for the following:

main()
{
    float me = 1.1;
    double you = 1.1;
    if(me==you)
        printf("I love U");
    else
        printf("I hate U");
}
Dec 27, 2017 08:26:57 UTC

Predict the output or error(s) for the following:

void main()
{
    int const * p=5;
    printf("%d",++(*p));
}
Dec 27, 2017 08:21:23 UTC