program to find out date after adding 31 days to a date in
the month of febraury also consider the leap year
No Answer is Posted For this Question
Be the First to Post Answer
11. Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage
Why is extern used in c?
What is a far pointer in c?
where can function pointers be used?
write the function int countchtr(char string[],int ch);which returns the number of timesthe character ch appears in the string. for example the call countchtr("she lives in Newyork",'e') would return 3.
write a c program to find largest of three numbers using simple if only for one time.
Here is a neat trick for checking whether two strings are equal
Explain how can I convert a number to a string?
1)which of following operator can't be overloaded. a)== b)++ c)?! d)<=
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
Explain what is operator promotion?
Explain this code. #include <stdio.h> void f1(int *k) { *k = *k + 10; } main ( ){ int i; i = 0; printf (" The value of i before call %d \n", i); f1 (&i); printf (" The value of i after call %d \n", i); }