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 / kt vikram
We are using 'goto' statement to print the numbers without using
if,for,while etc.
Is This Answer Correct ? | 38 Yes | 23 No |
Post New Answer View All Answers
What are the advantages and disadvantages of c language?
What do you mean by dynamic memory allocation in c? What functions are used?
What is the size of enum in bytes?
How can I read in an object file and jump to locations in it?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What does d mean?
What is clrscr ()?
What is bubble sort technique in c?
How do I use strcmp?
What is a const pointer in c?
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
What is variable in c example?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory