Can a variable be both const and volatile?
No Answer is Posted For this Question
Be the First to Post Answer
Just came across this question, felt worth sharing, so here it is I want you to make a C/C++ program that for any positive integer n will print all the positive integers from 1 up to it and then back again! Let's say n=5 I want the program to print: 1 2 3 4 5 4 3 2 1. Too easy you say? Okay then... You can ONLY USE: 1 for loop 1 printf/cout statement 2 integers( i and n) and as many operations you want. NO if statements, NO ternary operators, NO tables, NO pointers, NO functions!
How can type-insensitive macros be created?
What is the difference between getch() and getche()?
What is union and structure in c?
why do we use pointer instead directly acessing the data?
what is the need for main function in c?
Explain what is meant by high-order and low-order bytes?
Explain what are compound statements?
Unsigned char c; for ( c=0;c!=256;c++2) printf("%d",c); No. of times the loop is executed ?
get any number as input except 1 and the output will be 1.without using operators,expressions,array,structure.don't print 1 in printf statement
List some applications of c programming language?
What is far pointer in c?