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 / asmita negi
OMG.......
Hi Ravinder this looks quite tricky to me.
i am in 3rd yr btech IT.
Pls provide wroking soln for this.
Also can u please please please mail more such trap trick questions to me @
asmita_1991@gmail.com
it would be quite a help.
preparing for exam interview.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can 'this' pointer by used in the constructor?
What does void main () mean?
Why we use stdio h in c?
Why do we need a structure?
Tell me what is the purpose of 'register' keyword in c language?
What is scanf_s in c?
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
Write a program with dynamically allocation of variable.
How can I insert or delete a line (or record) in the middle of a file?
Tell us something about keyword 'auto'.
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
Write a program to check whether a number is prime or not using c?
What does struct node * mean?
What is difference between array and structure in c?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor