What should malloc() do?
we have to use realloc only after malloc or calloc ? or we can use initially with out depending on whether we are using malloc or calloc in our program ?
write a program to add two numbers of any size.....(remember any size)
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
Can the size of an array be declared at runtime?
A woman had somany gloves and hats 22 red,34 blue, 45 white...there was power cut and she took a glove and how many gloves shud she take so that she gets a pair of glove fr each color??
Write a C program where input is: "My name is xyz". output is: "xyz is name My".
Explain what is a 'locale'?
How can you determine the size of an allocated portion of memory?
what is difference between #include<stdio.h> and #include"stdio.h"
int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
What are dangling pointers in c?