#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
Why c is called free form language?
Do you know pointer in c?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
Why can arithmetic operations not be performed on void pointers?
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.
What is wrong with this declaration?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
What type is sizeof?
Write programs for String Reversal & Palindrome check
What is getch() function?
What is data structure in c and its types?
Is that possible to add pointers to each other?
Write a program to swap two numbers without using the third variable?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?