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 getch c?
What does == mean in texting?
What is extern variable in c with example?
What are the valid places to have keyword “break”?
Write a program to reverse a string.
what is recursion in C
When can you use a pointer with a function?
What is hashing in c language?
Explain argument and its types.
Is anything faster than c?
Why do some versions of toupper act strangely if given an upper-case letter?
What is bss in c?
Why do we use pointer to pointer in c?
What is a far pointer in c?
Can you apply link and association interchangeably?