#include<stdio.h>
int main( )
{
Int a=300, b, c;
if(a>=400)
b=300;
c=200;
printf(“%d%d
”, b, c);
return0;
}
struct tag{ auto int x; static int y; };main() { struct tag s; s.x=4; s.y=5; printf(ā%dā,s.x); }
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
Explain the use of bit fieild.
What is the best organizational structure?
How many levels of pointers have?
write a program to count the no of repaeted words in a line?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
What is %g in c?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
can we declare a function inside the structure? ex: struct book { int pages; float price; int library(int,float); }b; is the above declaration correct? as it has function declaration?
What is strcpy() function?
What is the role of this pointer?