write c program without semicolon
Answers were Sorted based on User's Feedback
Answer / rockabhi
int main()
{
if (printf(" d" Hello"))
{
// EMPTY
}
}
Is This Answer Correct ? | 38 Yes | 11 No |
Answer / s.venmathi
#include<stdio.h>
#include<conio.h>
void main()
{
if(printf("HELLO"))
{
}
}
Is This Answer Correct ? | 20 Yes | 0 No |
Answer / ramya
main
{
if(printf("%d %d %d",10,010,0x0))
{
}
}
o/p:10,8,16
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / saurabh rakhecha
int main()
{
if (printf(" Hello"))
{
// EMPTY
}
}
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / saranya
#include<iostream.h>
#include<conio.h>
int main()
(
if(printf("welcome"))
}
Is This Answer Correct ? | 9 Yes | 7 No |
Answer / ramya
#include<stdio.h>
void main()
{
if(printf("sum=%d",(10+20))
{
}
}
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / anu
#include<stdio.h>
#include<conio.h>
#define SEMICOLON ;
void main()
{
printf("hELLO") SEMICOLON
getch() SEMICOLON
}
Is This Answer Correct ? | 0 Yes | 3 No |
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
64/square(4)
#include<stdio.h> int main() { int a[3][3][2]= {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18}; printf("%d\n",*(*(*a+1)); return 0; } What will be the output of the above question? And how?
write a recursive program in'c'to find whether a given five digit number is a palindrome or not
#include<stdio.h> #include<conio.h> void main() { char ch='\356'; printf("%d",ch); } o/p=-18 why?plz.explain
what is the self-referential structure?
What is a ternary operator in c?
What is c variable?
What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
Ow can I insert or delete a line (or record) in the middle of a file?
how can we Declare a variable in c without defining it.