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
What is the function of multilevel pointer in c?
What is the size of empty structure in c?
Explain the process of converting a Tree into a Binary Tree.
What is wrong with this initialization?
In which header file is the null macro defined?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
What is indirection? How many levels of pointers can you have?
What are register variables? What are the advantage of using register variables?
What is dynamic dispatch in c++?
What is data types?
What is the difference between NULL and NUL?
How can I determine whether a machines byte order is big-endian or little-endian?
What does main () mean in c?
Explain 'far' and 'near' pointers in c.
Why header files are used?