Can a variable be both const and volatile?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

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!

1 Answers  


How can type-insensitive macros be created?

0 Answers  


What is the difference between getch() and getche()?

1 Answers   NSPL,


What is union and structure in c?

0 Answers  


why do we use pointer instead directly acessing the data?

2 Answers  






what is the need for main function in c?

5 Answers  


Explain what is meant by high-order and low-order bytes?

0 Answers  


Explain what are compound statements?

0 Answers  


Unsigned char c; for ( c=0;c!=256;c++2) printf("%d",c); No. of times the loop is executed ?

8 Answers   Mascot, TCS,


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

3 Answers  


List some applications of c programming language?

0 Answers  


What is far pointer in c?

0 Answers  


Categories