4. main()
{
int c=- -2;
printf("c=%d",c);
}
Can we access RAM? How? Whats the range of access? Similarly What are other hardware we can access?
fn f(x) { if(x<=0) return; else f(x-1)+x; }
Can a file other than a .h file be included with #include?
what is y value of the code if input x=10 y=5; if (x==10) else if(x==9) elae y=8; a.9 b.8 c.6 d.7
Write a program to reverse a given number in c?
How are Structure passing and returning implemented by the complier?
#include main() { int i=1,j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; } }
What is pragma in c?
#include<stdio.h> #include<conio.h> # define swap(a,b) temp=a; a=b; b=temp; void main( ) { int i, j, temp; i=5; j=10; temp=0; if( i > j) swap( i, j ); printf( "%d %d %d", i, j, temp); }
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
What is the difference b/w Structure & Array?
What is the difference between volatile and const volatile?