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

who will call your main function in c under linux?

2 Answers  


Distinguish between actual and formal arguments.

0 Answers  


Which is better pointer or array?

0 Answers  


Tell me what is null pointer in c?

0 Answers  


What is a char c?

0 Answers  






print out put like this form 1 2 3 4 5 6 3 5 7 9 11 8 12 16 20

8 Answers   TCS,


a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler

0 Answers  


What's the difference between DELETE TABLE and TRUNCATE TABLE commands?

2 Answers   CTC,


write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.

0 Answers  


Is it possible to execute code even after the program exits the main() function?

0 Answers  


Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol

0 Answers  


How is a pointer variable declared?

0 Answers  


Categories