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...

int i;
i=2;
i++;
if(i=4)
{
printf(i=4);
}
else
{
printf(i=3);
}
output of the program ?

Answer Posted / fwfwgq

It will give segmentation fault in linux

Is This Answer Correct ?    6 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol

1124


Explain what does the format %10.2 mean when included in a printf statement?

1365


How do you construct an increment statement or decrement statement in C?

1236


Explain the use of #pragma exit?

1181


What is meant by realloc()?

1152


What is ## preprocessor operator in c?

1089


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

1105


What is string function c?

1025


Explain what are linked list?

1047


What do you mean by a sequential access file?

1085


How are structure passing and returning implemented?

1040


What are the preprocessor categories?

1064


#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

1135


Explain how do you declare an array that will hold more than 64kb of data?

1455


Explain what does a function declared as pascal do differently?

1288