write a c program to print "Welcome" without using semicolon
in the whole program ??
Answer Posted / peanut64
//C++
#include <iostream>
using namespace std;
void main()
{
while((cout<<"hello"<<endl)==false)
{
}
}
//c
#include <stdio.h>
void main()
{
while(printf("Hello")==false)
{
}
}
[My lecturer asked me this question. The above solution
works for me]
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the right way to use errno?
difference between native and cross compilers
What is pass by reference in functions?
What is identifier in c?
Write programs for String Reversal & Palindrome check
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
Explain two-dimensional array.
What are the main characteristics of c language describe the structure of ac program?
Why is c called "mother" language?
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
What is the auto keyword good for?
How will you delete a node in DLL?
Why are all header files not declared in every c program?
write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.