Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
Answer Posted / sweetsmiracle17
plz provide answer
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Can the “if” function be used in comparing strings?
What is 2 d array in c?
Write a program to identify if a given binary tree is balanced or not.
write a program to print largest number of each row of a 2D array
How to write a multi-statement macro?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
What are the types of data structures in c?
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
What is 2c dna?
What is optimization in c?
What is the difference between the local variable and global variable in c?
What is a protocol in c?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
What are the __date__ and __time__ preprocessor commands?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above