a simple program in c language
Answers were Sorted based on User's Feedback
Answer / love agarwal
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("hello");
getch();
}
Is This Answer Correct ? | 5 Yes | 0 No |
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 |
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 |
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 |
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 |
who will call your main function in c under linux?
Distinguish between actual and formal arguments.
Which is better pointer or array?
Tell me what is null pointer in c?
What is a char c?
print out put like this form 1 2 3 4 5 6 3 5 7 9 11 8 12 16 20
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
What's the difference between DELETE TABLE and TRUNCATE TABLE commands?
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.
Is it possible to execute code even after the program exits the main() function?
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
How is a pointer variable declared?