What is a header file?
No Answer is Posted For this Question
Be the First to Post Answer
What is the output of below code? main() { static in a=5; printf("%3d",a--); if(a) main(); }
In the following control structure which is faster? 1.Switch 2.If-else and which consumes more memory?
How do you access command-line arguments?
write c program without semicolon
11 Answers MindTech, TCS, Wipro,
How do you convert strings to numbers in C?
Write a c program to print the sizes and ranges of different data types in c?
What is typedef?
#include<stdio.h> #include<conio.h> struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
what is the output of the following program? #include<stdio.h> void main() { int x=4,y=3,z; z=x-- -y; printf("\n%d %d %d",x,y,z); }
Is null always equal to 0(zero)?
Explain a file operation in C with an example.