How to print %d in output
Answers were Sorted based on User's Feedback
which will return integer? a) int*s ( ) b) ( int* ) s( ) c) int ( *s ) ( )
Here is a neat trick for checking whether two strings are equal
write a program for the normal snake games find in most of the mobiles.
What is a list in c?
What is ctrl c called?
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.
What is the difference between calloc() and realloc()?
write a program to display the numbers in the following format 4 4 3 3 3 3 2 2 2 2 2 2 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 2 2 2 2 2 3 3 3 4
int main() { int days; printf("enter days you are late"); scanf("%d",days); if (days<=5) printf("5o paisa fine"); if (days<=10&&days>=6) printf("1rs fine"); if(days>10) printf("10 rs fine"); if(days=30) printf("membership cancelled"); return 0; } tell me whats wrong in this program? is it right?
Write a program of prime number using recursion.
What are the advantages of the functions?
What is Generic pointer? What is the purpose of Generic pointer? Where it is used?