What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
1125Which header file should you include if you are to develop a function which can accept variable number of arguments?
1401
What is structure padding in c?
What does static variable mean in c?
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
How many levels of indirection in pointers can you have in a single declaration?
Write a code of a general series where the next element is the sum of last k terms.
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 #line used for?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
Can a pointer be static?
Explain 'bus error'?
How can you tell whether a program was compiled using c versus c++?
What is int main () in c?
What is the difference between pure virtual function and virtual function?
What does the && operator do in a program code?
What happens if you free a pointer twice?