Why use int main instead of void main?
No Answer is Posted For this Question
Be the First to Post Answer
Is null always equal to 0(zero)?
#include<stdio.h> void main() { int =1; printf("%d%d%d",a++,++a,++a); }
What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these
what is the diference between pointer to the function and function to the pointer?
Which is the best sort method for library management?
can we initialize all the members of union?
how to find string length wihtout using c function?
say the following declaration is correct nr not. int b=a,n=0;
Write a program to check armstrong number in c?
program to find a smallest number in an array
Write a program to show the change in position of a cursor using c
HOW TO HANDLE EXCEPTIONS IN C