#include <stdio.h>
#define sqr(x) (x*x)
int main()
{
int x=2;
printf("value of x=%d",sqr(x+1));
}
What is the value of x?
Answer Posted / anil
27
| Is This Answer Correct ? | 3 Yes | 16 No |
Post New Answer View All Answers
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
int i=10; printf("%d %d %d", i, i=20, i);
Are there any problems with performing mathematical operations on different variable types?
How can I find the modification date of a file?
What is the use of linkage in c language?
What are the __date__ and __time__ preprocessor commands?
What are preprocessor directives in c?
Lists the benefits of c programming language?
When do we get logical errors?
What is the use of volatile?
Tell me with an example the self-referential structure?
Can math operations be performed on a void pointer?
How to write c functions that modify head pointer of a linked list?
What is call by reference in functions?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }