How to add two numbers without using semicolon at runtime

Answer Posted / snehal sawant

#include<stdio.h>
void main()
{
while(!printf("11+20= %d ",11+20))
{
}
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which one would you prefer - a macro or a function?

600


What is ambagious result in C? explain with an example.

2053


Write a C program linear.c that creates a sequence of processes with a given length. By sequence it is meant that each created process has exactly one child. Let's look at some example outputs for the program. Here the entire process sequence consists of process 18181: Sara@dell:~/OSSS$ ./linear 1 Creating process sequence of length 1. 18181 begins the sequence. An example for a sequence of length three: Sara@dell:~/OSSS$ ./linear 3 Creating process sequence of length 3. 18233 begins the sequence. 18234 is child of 18233 18235 is child of 18234 ........ this is coad .... BUt i could not compleate it .....:( #include #include #include #include int main(int argc, char *argv[]) { int N; pid_t pid; int cont; if (argc != 2) { printf("Wrong number of command-line parameters!\n"); return 1; } N = atoi(argv[1]); printf("Creating process sequence of length %d.\n",N); printf("%d begins the sequence.\n",getpid()); /* What I have to do next ?????? */ }

1614


Explain what math functions are available for integers? For floating point?

609


What is the 'named constructor idiom'?

636






What is C language ?

1524


Why do we need arrays in c?

578


Why does notstrcat(string, "!");Work?

641


Where are some collections of useful code fragments and examples?

713


how can use subset in c program and give more example

1495


a value that does not change during program execution a) variabe b) argument c) parameter d) none

691


What is indirection in c?

620


Write a program to reverse a given number in c language?

616


Explain what does the function toupper() do?

630


What is c value paradox explain?

572