Heyyy All,

Just a challenge .
A C program with if Else


if(){
/// insert sumthing
print ("in if")
// insert sumting
}

else {
///// insert sumthing
print ("in else");
//// insert sumthing
}

can anyone modify it so that program prints.
if and else both

Answer Posted / ravinderrawat1989

Try...
sumthing tricky waiting after this

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a code to generate divisors of an integer?

645


What is the use of clrscr?

602


What are structures and unions? State differencves between them.

619


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

1677


What does main () mean in c?

617






What is a list in c?

624


What is the difference between c and python?

588


List the different types of c tokens?

629


explain what is a newline escape sequence?

692


What are the properties of union in c?

593


How are Structure passing and returning implemented by the complier?

717


Why do we use pointer to pointer in c?

603


Which is better malloc or calloc?

656


can we have joblib in a proc ?

1659


What is a shell structure examples?

596