Without using main fn and semicolon,print remainder for a
given number in C language
Answer Posted / ronak pareel
it is easy but you want to use main function
#include<stdio.h>
main()
{
if(printf("
%d",11%10))
}
// In this code at the place of 11 you can write your no
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
What is this pointer in c plus plus?
What are directives in c?
What is extern storage class in c?
difference between Low, Middle, High Level languages in c ?
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
Why c language is called c?
Where define directive used?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
What is the use of typedef in c?
What is scope rule in c?
What is the purpose of ftell?
What do the functions atoi(), itoa() and gcvt() do?