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 |
show how link list can be used to repersent the following polynomial i) 5x+2
WHAT IS MEANT BY LIFE?
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
How reliable are floating-point comparisons?
What is a struct c#?
What are the types of arrays in c?
Difference between goto, long jmp() and setjmp()?
i want the code for printing the output as follows 4 4 3 3 2 2 1 1 0 1 1 2 2 3 3 4 4
second highest number in a given set of numbers
Heyyy All, Just a challenge . A C program with if Else if(){ /// insert sumthing print ("in if") // insert sumting } else { ///// insert sumthing print ("in else"); //// insert sumthing } can anyone modify it so that program prints. if and else both
a memory of 20 bytes is allocated to a string declared as char *s then the following two statements are executed: s="Etrance" l=strlen(s); what is the value of l ? a.20 b.8 c.9 d.21