main()
{
int a[10];
printf("%d",*a+1-*a+3);
}
Answers were Sorted based on User's Feedback
Answer / rameshp
ans is 4.
bec
*a+1-*a+3= 4 +*a,-*a ll be cancel....so ans s 4...
| Is This Answer Correct ? | 49 Yes | 3 No |
Explain what math functions are available for integers? For floating point?
How pointer is benefit for design a data structure algorithm?
what is the output for this question: main() { int i=1; printf("%d%d%d",i,i++,++i); }
Is void a keyword in c?
15.what is the disadvantage of using macros? 16.what is the self-referential structure? 17.can a union be self-referenced? 18.What is a pointer? 19.What is the Lvalue and Rvalue? 20.what is the difference between these initializations? 21.Char a[]=”string”; 22.Char *p=”literal”; 23.Does *p++ increment p, or what it points to?
What are the advantages of Macro over function?
what type of questions arrive in interview over c programming?
main() { int i,n=010; int sum=0; for(i=1;i<=n;i++) {s=s+i; } printf("%d",&s); getch(); }
What are data structures in c and how to use them?
What are the 4 types of programming language?
Which is better malloc or calloc?
what are the uses of structure?