Can we declare variables anywhere in c?
No Answer is Posted For this Question
Be the First to Post Answer
consider the following program sigment int n,sum=1; switch(n) { case 2:sum=sum+2; case 3:sum*=2; break; default:sum=0;} if n=2, what is the value of sum a.0 b.6 c.3 d.none
what is the difference between definition and declaration? give me some examples.
How can I get Single byte from 'int' type variable? Can we alter single bit or multiple bits in int type variable? if so, How?
main() { int a; a=++100; printf("%d",a); getch(); }
25. It takes five minutes to pass a rumour from one person to two other persons. The tree of rumour continues. Find how many minutes does it take spread the rumour to 768 persons. ?
11 Answers CTS, TCS,
when will be evaluated as true/ if(x==x==x) a) x=1; b) x=0; c) x=-1; d) none
wap in c to accept n number display the highest and lowest value
What is time null in c?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
Identify the operators that is not used with pointer a. && b. # c. * d. >>
How do you define CONSTANT in C?
What is a ternary operator in c?