Write a C++ program without using any loop (if, for, while
etc) to print numbers from 1 to 100 and 100 to 1;
Answer Posted / gandhi priyank
goto statment is also right because goto statement is not a
loop
e.g.
void main()
{
j:
printf("type your text here");
goto j;
}
Is This Answer Correct ? | 10 Yes | 42 No |
Post New Answer View All Answers
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
What is integer constants?
Where is volatile variable stored?
What is a void pointer? When is a void pointer used?
What is the most efficient way to count the number of bits which are set in an integer?
What is header file definition?
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
How can I list all of the predefined identifiers?
Explain how can you determine the size of an allocated portion of memory?
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none
What is masking?
How to implement a packet in C
Does free set pointer to null?
What is strcpy() function?
When can a far pointer be used?