Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 ?    49 Yes 3 No

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

Answer / prashant agarwal

this is give an compilation error

Is This Answer Correct ?    4 Yes 10 No

Post New Answer

More C Interview Questions

Explain in detail how strset (string handling function works )pls explain it with an example.

1 Answers  


How to write a multi-statement macro?

0 Answers  


What is malloc calloc and realloc in c?

0 Answers  


write a program that print itself even if the source file is deleted?

2 Answers  


program for comparing 2 strings without strcmp()

4 Answers  


what is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of the Above

3 Answers   Accenture, Infosys, Wipro,


Write a C program to check a number even or odd, without using any relational, arithmetic operator and any loops.

1 Answers  


The variables are int sum=10,SuM=20; these are same or different?

3 Answers  


1 1 12 21 123 321 12344231 how i creat it with for loop??

1 Answers  


Write code for atoi(x) where x is hexadecimal string.

5 Answers   Adobe,


If the static variable is declared as global, will it be same as extern?

1 Answers   Samsung,


What are different types of variables in c?

0 Answers  


Categories