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

Define the scope of static variables.

606


What is pragma in c?

629


"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks

660


Is c is a procedural language?

600


Are there constructors in c?

595






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

1087


How many levels of pointers can you have?

705


What is the difference between printf and scanf )?

595


What is the use of gets and puts?

604


What is scope and lifetime of a variable in c?

578


What is a struct c#?

601


Explain what are bus errors, memory faults, and core dumps?

792


What is the newline escape sequence?

589


How is = symbol different from == symbol in c programming?

614


What are the parts of c program?

635