Without using main fn and semicolon,print remainder for a
given number in C language
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / swamy
we can not print any number with out using main function
and semicolon.
I think
| Is This Answer Correct ? | 0 Yes | 5 No |
What is meant by type casting?
What is difference between union All statement and Union?
what is the differance between pass by reference and pass by value.
while initialization of array why we use a[][2] why not a[2][]...?
How can I find out how much free space is available on disk?
Do array subscripts always start with zero?
Array is an lvalue or not?
# define prod(a,b)=a*b main() { int x=2; int y=3; printf("%d",prod(x+2,y-10)); } the output of the program is a.8 b.6 c.7 d.none
How can draw a box in cprogram without using graphics.h header file & using only one printf(); ?
What are the benefits of organizational structure?
What are the preprocessor categories?
What is the use of getch ()?