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 functions are used for dynamic memory allocation in c language?
Diff: between this 2 classes in terms of memory class A { int i; char c; double d; }; class A { double d; int i; char c; }; How it is calculating?
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
Apart from dennis ritchie who the other person who contributed in design of c language.
Does c have an equivalent to pascals with statement?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
wat is output of the following int main() { const int j=2; int i; switch(i) { case 1:break; case j:break; default:break; } }
What is the process to create increment and decrement stamen in c?
What is const volatile variable in c?
What are different types of pointers?
Write a C program in Fibonacci series.
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.