a simple program in c language

Answer Posted / rahul

#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int i=5;
printf("%d",i);
getch();
}

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use header files in c?

573


How can I implement sets or arrays of bits?

600


What does the file stdio.h contain?

597


What are bitwise shift operators in c programming?

639


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

2182






How does #define work?

642


I need previous papers of CSC.......plz help out by posting them.......

1813


What are linker error?

612


Why we use stdio h in c?

575


Explain the bubble sort algorithm.

638


Is main a keyword in c?

623


Explain what’s a signal? Explain what do I use signals for?

606


Differentiate fundamental data types and derived data types in C.

606


Are bit fields portable?

669


What is null character in c?

684