Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


main()
{
int a[10];
printf("%d",*a+1-*a+3);
}

Answers were Sorted based on User's Feedback



main() { int a[10]; printf("%d",*a+1-*a+3); }..

Answer / rameshp

ans is 4.
bec
*a+1-*a+3= 4 +*a,-*a ll be cancel....so ans s 4...

Is This Answer Correct ?    27 Yes 2 No

main() { int a[10]; printf("%d",*a+1-*a+3); }..

Answer / prashant agarwal

this is give an compilation error

Is This Answer Correct ?    1 Yes 8 No

Post New Answer

More C Interview Questions

Can we change the value of constant variable in c?

0 Answers  


Why static is used in c?

0 Answers  


What is meant by keywords in c?

0 Answers  


c program to input values in a table(using 2D array) and print odd numbers from them

1 Answers  


how can i get output the following... 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 and 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 plz plz...

3 Answers  






write a c programs to do multiplication of two numbers with out using arithmatic operator ??????????

7 Answers   Infosys, TCS,


what is the importance of spanning tree?

0 Answers  


What is c programming structure?

0 Answers  


what is the difference between #include<stdio.h> and #include "stdio.h" ?

3 Answers  


How do we swap or interchange any 2 numbers without using Temporary variable...Anybody can pls answer it.. Thanks in Advance

8 Answers  


what will happen if you free a pointer twice after allocating memory dynamically ?

3 Answers   Novell,


how can we print  hellow world programme without using semicolon

3 Answers  






Categories