21.
Which among the following is the correct syntax to declare a static variable register?

23.
Which part of the program address space is p stored in the following C code?
#include <stdio.h>
int *p;
int main()
{
    int i = 0;
    p = &i;
    return 0;
}

24.
What will be the output of the following C code?
#include <stdio.h>
void main()
{
    register int x = 0;
    if (x < 2)
    {
        x++;
        main();
    }
}

26.
What will be the output of the following C code?
#include <stdio.h>
void f();
int main()
{
    #define foo(x, y) x / y + x
    f();
}
void f()
{
    printf("%d\n", foo(-3, 3));
}

Read More Section(Function)

Each Section contains maximum 100 MCQs question on Function. To get more questions visit other sections.