Write a program for finding factorial of a number.
How would you obtain the current time and difference between two times?
Is Exception handling possible in c language?
Why do we use main function?
which one is highest Priority in c? a)=,b)+,c)++,d)==
WAP to convert text into its ASCII Code and also write a function to decode the text given?
what is diference between return 0 and return NULL??
int array[]={1,2,3,4,5,6,7,8}; #define SIZE (sizeof(array)/sizeof(int)) main() { if(-1<=SIZE) printf("1"); else printf("2"); }
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
what is the c source code for the below output? 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1
find the output of the following program main() { int x=5, *p; p=&x; printf("%d",++*p); }
Does c have function or method?