how can we print hellow world programme without using semicolon
Answers were Sorted based on User's Feedback
Answer / akbar
#include<stdio.h>
int main()
{
printf("Hello World
");
return 0;
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rohit kakade
#include<stdio.h>
#include<conio.h>
void main(void)
{
while(printf("HellO")==0)
getch();
}
| Is This Answer Correct ? | 1 Yes | 4 No |
write a program to print infinte number
What is data type long in c?
consider the following program sigment int n,sum=1; switch(n) { case 2:sum=sum+2; case 3:sum*=2; break; default:sum=0;} if n=2, what is the value of sum a.0 b.6 c.3 d.none
what is c?
Why c language?
what is difference between array,strutter,union and pointers
3 Answers CTS, Lovely Professional University, Mannar Company,
Can two or more operators such as and be combined in a single line of program code?
i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical
what will the following program do? void main() { int i; char a[]="String"; char *p="New Sring"; char *Temp; Temp=a; a=malloc(strlen(p) + 1); strcpy(a,p); //Line no:9// p = malloc(strlen(Temp) + 1); strcpy(p,Temp); printf("(%s, %s)",a,p); free(p); free(a); } //Line no 15// a) Swap contents of p & a and print:(New string, string) b) Generate compilation error in line number 8 c) Generate compilation error in line number 5 d) Generate compilation error in line number 7 e) Generate compilation error in line number 1
what is meant by the "equivalence of pointers and arrays" in C?
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
Why do we use pointer to pointer in c?