find the output of the following program
main()
{
int x=5, *p;
p=&x;
printf("%d",++*p);
}
Answer Posted / ganesh auti,pune
6
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is non linear data structure in c?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
Is struct oop?
What are the loops in c?
What is the best way to comment out a section of code that contains comments?
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
How many main () function we can have in a project?
How is null defined in c?
What is array of pointers to string?
What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?
What is queue in c?
Explain what is dynamic data structure?
Explain the array representation of a binary tree in C.
What is a program?
What are directives in c?