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
what is the use of pointers
What are pointers?
0 Answers Accenture, Tavant Technologies, Zensar,
Write a program to print "hello world" without using a semicolon?
What are the application of c?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
/*what is the output for the code*/ void main() { int r; r=printf("naveen"); r=printf(); printf("%d",r); getch(); }
Explain what is operator promotion?
Explain how can I write functions that take a variable number of arguments?
Concat two string with most overlapped substring has to removeĀ "abcd"+ "cdef" = "abcdef
Explain the term printf() and scanf() used in c language?
What is a null string in c?
main() { int i = -3,j=2,k=0,m; m= ++i || ++j && ++k; printf("%d%d%d",i,j,k,m); }