what is output?
main()
{
#define SQR(x) x++ * ++x
int i = 3;
printf("
%d %d
",SQR(i),i * SQR(i));
}
a)9 27
b)35 60
c)20 60
d)15 175
Answer Posted / anil patil
b) 35 60
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How do you initialize pointer variables?
Why array is used in c?
What is the equivalent code of the following statement in WHILE LOOP format?
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
Are global variables static in c?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
What are header files and explain what are its uses in c programming?
What is the difference between local variable and global variable in c?
What are the keywords in c?
What is a function in c?
Differentiate between a for loop and a while loop? What are it uses?
Explain what is the difference between the expression '++a' and 'a++'?
What is the acronym for ansi?
Is it fine to write void main () or main () in c?
what are # pragma staments?