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


Please Help Members By Posting Answers For Below Questions

Describe the modifier in c?

610


What is the difference between far and near in c?

607


how to make a scientific calculater ?

1570


count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array

681


What happens if a header file is included twice?

604






What is structure padding and packing in c?

627


What is structure data type in c?

575


How can I automatically locate a programs configuration files in the same directory as the executable?

636


What is merge sort in c?

650


Why & is used in c?

722


When we use void main and int main?

593


How do I use strcmp?

647


Why can arithmetic operations not be performed on void pointers?

594


Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer

3848


Explain how can I remove the trailing spaces from a string?

632