1.
What is the output of the following C code:
#include

int main() {
    int p = 10, q = 20, r;
    if (r = p == 5 || q > 20)
        printf("%d", r);
    else
        printf("No Output
");
}
2.
What is the output of the following C code:
#include

int main() {
    int x = 2, i = 0;
    do {
        x = x++;
        i++;
    } while (i != 3);

    printf("%d
", x);
}
3.
In C, which of the following are unary operators?
4.
In C, keywords are written in ______________________________.
5.
Which of the following is not a valid variable name declaration in C?
6.
In C, which of the following is a valid expression?
7.
What is the output of the following C code:
 
#include
int main() {
    int y = 10000;
    int y = 34;
    printf("Hello World! %d
", y);
    return 0;
}
8.
In C, which of the following is NOT a valid variable name declaration?
9.
What is the output of the following C code:
#include
int main() {
    int main() = 100;
    printf("%d", main());
    return 0;
}
10.
What is the output of the following C code:

#include
int main() {
    int main = 100;
    printf("%d", main);
    return 0;
}