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
Answers were Sorted based on User's Feedback
34.what are bitwise shift operators? 35.what are bit fields? What is the use of bit fields in a structure declaration? 36.what is the size of an integer variable? 37.what are the files which are automatically opened when a c file is executed? 38.what is the little endian and big endian? 39.what is the use of fflush() function? 40.what is the difference between exit() and _exit() functions? 41.where does malloc() function get the memory? 42.what is the difference between malloc() and calloc() function? 43.what is the difference between postfix and prefix unary increment operators?
WHAT IS HIGH LEVEL LANGUAGE?
Find string palindrome 10marks
5 Answers Honeywell, Infosys, Riktam, Roland,
what is difference between ++(*p) and (*p)++
17 Answers Accenture, HCL, IBM,
What is structure of c program?
please give me answer with details #include<stdio.h> main() { int i=1; i=(++i)*(++i)*(++i); printf("%d",i); getch(); }
What are categories used for in c?
Tell me with an example the self-referential structure?
main() { charx; while (x=0;x<=255;x++) printf("\nAscii value %d Character %c,x,x); }
what is difference between array,strutter,union and pointers
3 Answers CTS, Lovely Professional University, Mannar Company,
is it possible to create your own header files?
How to establish connection with oracle database software from c language?