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 |
What is %d called in c?
Is both getch() and getchar() functions are similar? if it is similar means why these two functions are used for same usage? if it is not similar means what is the difference?
How many levels of indirection in pointers can you have in a single declaration?
0 Answers Agilent, ZS Associates,
what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }
Do you know null pointer?
How do we swap or interchange any 2 numbers without using Temporary variable...Anybody can pls answer it.. Thanks in Advance
What is the use of static variable in c?
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 do you mean by scope of a variable in c?
here is a link to download Let_Us_C_-_Yashwant_Kanetkar
What is an identifier?
Explain how can I open a file so that other programs can update it at the same time?