How can I make a program in c to print 'Hello' without
using semicolon in the code?
Answer Posted / manjushree
#include<stdio.h>
#include<conio.h>
int main()
{
if(printf("Hello"))
{
}
getch();
}
// if u use while loop it goes for an infinite loop , so
better to use if condition
Is This Answer Correct ? | 12 Yes | 3 No |
Post New Answer View All Answers
Can you please compare array with pointer?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
How to write a multi-statement macro?
what will be maximum number of comparisons when number of elements are given?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
Simplify the program segment if X = B then C ← true else C ← false
What is local and global variable in c?
What do you mean by dynamic memory allocation in c? What functions are used?
How do you print only part of a string?
What is the size of structure in c?
Explain 'bus error'?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
write a c program to calculate sum of digits till it reduces to a single digit using recursion
What is the data segment that is followed by c?
When c language was developed?