a simple program in c language

Answers were Sorted based on User's Feedback



a simple program in c language..

Answer / love agarwal

#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("hello");
getch();
}

Is This Answer Correct ?    5 Yes 0 No

a simple program in c language..

Answer / 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

a simple program in c language..

Answer / chaitali

#include <stdio.h>
#include<conio.h>
int main()
{
int num;
num=1;
clrscr();
printf("My favorite number");
printf("is %d because it is first.\n",num);
getch();
return 0;
}

Is This Answer Correct ?    4 Yes 4 No

a simple program in c language..

Answer / ragu

#include<stdio.h>
void main(void)
{
int a;
clrscr();
printf("enter a number ");
scanf("%d",&a);

printf("you enter the number %d",a);
getch();
}

Is This Answer Correct ?    0 Yes 0 No

a simple program in c language..

Answer / ragu

#include<stdio.h>
void main(void)
{
int a;
clrscr();
printf("enter a number ");
scanf("%d",&a);

printf("you enter the number %d",a);
getch();
}

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Interview Questions

What are the benefits of organizational structure?

0 Answers  


which is faster execution: loops or recursion?

3 Answers  


Difference between strcpy() and memcpy() function?

0 Answers  


Can a pointer be volatile in c?

0 Answers  


study the code: #include<stdio.h> void main() { const int a=100; int *p; p=&a; (*p)++; printf("a=%dn(*p)=%dn",a,*p); } What is printed? A)100,101 B)100,100 C)101,101 D)None of the above

15 Answers   Accenture, TCS,






what is self refrential structure

3 Answers   HCL,


SIR PLS TELL ME THE CODE IN C LANGUAGE TO PRINT THE FOLLOWING SERIES 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1 1 2 3 2 1 1 2 1 1

4 Answers  


What is hash table in c?

0 Answers  


Why is c fast?

0 Answers  


What is the function of this pointer?

0 Answers   Agilent, ZS Associates,


Explain a pre-processor and its advantages.

0 Answers  


what are two categories of clint-server application development ?

1 Answers  


Categories