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
Describe the modifier in c?
What is the difference between far and near in c?
how to make a scientific calculater ?
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
What happens if a header file is included twice?
What is structure padding and packing in c?
What is structure data type in c?
How can I automatically locate a programs configuration files in the same directory as the executable?
What is merge sort in c?
Why & is used in c?
When we use void main and int main?
How do I use strcmp?
Why can arithmetic operations not be performed on void pointers?
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
Explain how can I remove the trailing spaces from a string?