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

1.Why do you call C is middle level language? 2.Why do you call C is userfriendly language.

2 Answers  


Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

0 Answers   MNC,


Differentiate between new and malloc(), delete and free() ?

0 Answers   iNautix,


differentiate between const char *a; char *const a; and char const *a;

2 Answers   College School Exams Tests, HCL, TCS,


Can we access the array using a pointer in c language?

0 Answers  


Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..

0 Answers   Huawei,


In c programming language, how many parameters can be passed to a function ?

0 Answers  


What is the modulus operator?

0 Answers  


what are far pointers?

1 Answers  


what is the use of operator ^ in C ? and how it works?

2 Answers  


why return type of main is not necessary in linux

0 Answers   TCS,


What is the heap?

0 Answers  


Categories