how to create c progarm without void main()?
Answer / surya bhagavan s
#include<stdio.h>
#include <unistd.h>
_start()
{
_exit(my_main());
}
int my_main(void)
{
printf("Hello\n");
return 42;
}
for compilation
gcc -o3 -nostartfiles example.c
| Is This Answer Correct ? | 2 Yes | 7 No |
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.
1 232 34543 4567654 can anyone tell me how to slove this c question
will u please send me the placement papers to my mail???????????????????
Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates
What does stand for?
What does %p mean c?
Is r written in c?
sir i wanted to know how we wap in c to add numbers without using arithmetic operator in which digits are entered by user?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
print out put like this form 1 2 3 4 5 6 3 5 7 9 11 8 12 16 20
Write code for atoi(x) where x is hexadecimal string.