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 |
Why is it important to memset a variable, immediately after allocating memory to it ?
what is the difference between these initializations? Char a[]=”string”; Char *p=”literal”; Does *p++ increment p, or what it points to?
What is an arrays?
What is void c?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
where does it flourished?
How to define structures? ·
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
What is a spanning Tree?
find largest of 3 no
How do I send escape sequences to control a terminal or other device?