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

What does void main return?

612


Explain the advantages and disadvantages of macros.

631


what do the 'c' and 'v' in argc and argv stand for?

651


What are the features of the c language?

652


Why dont c comments nest?

625






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

1095


What is meant by keywords in c?

622


What are the 3 types of structures?

576


What are different types of variables in c?

573


What is the sizeof () a pointer?

555


Write a program to generate the Fibinocci Series

673


What is atoi and atof in c?

620


what is the difference between class and unio?

1866


What is variable in c example?

598


write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1

3299