How long does this loop run:
for(int x=0; x=3; x++)
a) Never
b) Three times
c) Forever
Answers were Sorted based on User's Feedback
Answer / g m rajput
int main()
{
int f=1;
for(:f:)
cout<<"f="<<f++<<"
;
return 0;
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sur
never..
because initially condition is true,
and x is false, so it will comes out of loop.
| Is This Answer Correct ? | 10 Yes | 23 No |
how to connect with oracle 9i with server in socket program in c/c++
Adobe Interview & Adobe Placement Paper
What are guid? Why does com need guids?
1. What does the following do: void afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } a) Outputs 12 b) Outputs 10 c) Outputs the address of v
What is the this pointer?
Write about the stack unwinding?
How do I run a program in notepad ++?
Can static member variables be private?
What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard
What is difference between array and vector in c++?
founder of c++
7 Answers Microtek, TCS, TeleCommand,
Explain the isa and hasa class relationships.