Write a C program to print ‘Campus Force training’ without
using even a single semicolon in the program.
Answers were Sorted based on User's Feedback
Answer / pragathi
void main()
{
if(printf("campus force training"))
{
}
}
Is This Answer Correct ? | 44 Yes | 1 No |
Answer / pragathi
main()
{
if(printf("campus force training"))
break;
}
Is This Answer Correct ? | 12 Yes | 12 No |
Answer / bhavin
void main()
{
if(printf(" Campus force training")
{}
getch();
}
Is This Answer Correct ? | 2 Yes | 5 No |
/*what is the output for*/ void main() { int r; printf("Naveen"); r=printf(); getch(); }
Write a Program that Inputs 10 Numbers in an Array and Show the Maximum Number
There is a lucky draw held every day. if there is a winning number eg 1876,then all possible numbers like 1867,1687,1768 etc are the numbers that match irrespective of the position of the digit. Thus all these numbers qualify fr the lucky draw prize Assume there is no zero digit in any numbers. write a program to show all the possible winning numbers if a "winning number"is passed as an arguments to the function.
main(){ int a= 0;int b = 20;char x =1;char y =10; if(a,b,x,y) printf("hello"); }
To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates.
19 Answers Amazon, BITS, Microsoft, Syncfusion, Synergy, Vector,
How can you relate the function with the structure? Explain with an appropriate example.
#define max 5 #define int arr1[max] main() { typedef char arr2[max]; arr1 list={0,1,2,3,4}; arr2 name="name"; printf("%d %s",list[0],name); }
Write a program to receive an integer and find its octal equivalent?
There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.
how to return a multiple value from a function?
How to return multiple values from a function?
#include<stdio.h> main() { int i=1,j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; } }