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 data _null_? ,Explain with code when u need to use it in data step programming ?
#if something == 0 int some=0; #endif main() { int thing = 0; printf("%d %d\n", some ,thing); }
C statement to copy a string without using loop and library function..
I need your help, i need a Turbo C code for this problem.. hope u'll help me guys.? Your program will have a 3x3 array. The user will input the sum of each row and each column. Then the user will input 3 values and store them anywhere, or any location or index, temporarily in the array. Your program will supply the remaining six (6) values and determine the exact location of each value in the array. Example: Input: Sum of row 1: 6 Sum of row 2: 15 Sum of row 3: 24 Sum of column 1: 12 Sum of column 2: 15 Sum of column 3: 18 Value 1: 3 Value 2: 5 Value 3: 6 Output: Sum of Row 1 2 3 6 4 5 6 15 7 8 9 24 Sum of Column 12 15 18 Note: Your program will not necessary sort the walues in the array Thanks..
int i; main(){ int t; for ( t=4;scanf("%d",&i)-t;printf("%d\n",i)) printf("%d--",t--); } // If the inputs are 0,1,2,3 find the o/p
write a simple calculator c program to perform addition, subtraction, mul and div.
0 Answers United Healthcare, Virtusa,
pls anyone can help me to write a code to print the values in words for any value.Example:1034 to print as "one thousand and thirty four only"
main() { int i=0; for(;i++;printf("%d",i)) ; printf("%d",i); }
typedef struct error{int warning, error, exception;}error; main() { error g1; g1.error =1; printf("%d",g1.error); }
1. const char *a; 2. char* const a; 3. char const *a; -Differentiate the above declarations.
void main() { int x,y=2,z; z=(z*=2)+(x=y=z); printf("%d",z); }
#define int char main() { int i=65; printf("sizeof(i)=%d",sizeof(i)); }