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

How to get string length of given string in c?

0 Answers  


how to write hello word without using semicolon at the end?

6 Answers   Accenture,


Can variables be declared anywhere in c?

0 Answers  


What's the difference between calloc() and malloc()?

4 Answers  


wat is the output int main() { char s1[]="Hello"; char s2[]="Hello"; if(s1==s2) printf("Same"); else printf("Diff"); }

3 Answers  


void main() { char c; while(c=getchar()!='\n') printf("%d",c); } o/p=11 why?

8 Answers   Wipro,


When c language was developed?

0 Answers  


Write a program to identify if a given binary tree is balanced or not.

0 Answers   JPMorgan Chase,


What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

0 Answers   Wilco,


Is swift based on c?

0 Answers  


How can I read data from data files with particular formats?

0 Answers  


Why array is used in c?

0 Answers  


Categories