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
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
What are the different data types in C?
What is volatile variable in c?
What language is windows 1.0 written?
Why functions are used in c?
What is the collection of communication lines and routers called?
Tell me when is a void pointer used?
What are the basic data types associated with c?
Is sizeof a keyword in c?
What is strcmp in c?
How many loops are there in c?
What are actual arguments?
Can you write the function prototype, definition and mention the other requirements.
What is oops c?
Does c have an equivalent to pascals with statement?