Without using main fn and semicolon,print remainder for a
given number in C language

Answers were Sorted based on User's Feedback



Without using main fn and semicolon,print remainder for a given number in C language..

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

Without using main fn and semicolon,print remainder for a given number in C language..

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

Post New Answer

More C Interview Questions

2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier. &#61550; Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed. &#61550; When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed. &#61550; Sequence of take-off is the sequence of addition to the waitlist

0 Answers  


character array A[12] can hold

5 Answers   Wipro,


Differentiate Source Codes from Object Codes

1 Answers  


Define function pointers?

1 Answers  


What are the different types of pointers used in c language?

0 Answers  






what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

0 Answers  


second highest number in a given set of numbers

3 Answers   TCS,


write a function that accepts an array A with n elements and array B with n-1 elements. Find the missing one in array B,with an optimized manner?

2 Answers   Zensar,


wat are the two methods for swapping two numbers without using temp variable??

2 Answers  


who developed c and why he developed c?

5 Answers  


What do header files do?

0 Answers  


What is a void * in c?

0 Answers  


Categories