Answer Posted / shruti
you do not need to declare a pointer to any array..
an array itself is a constant pointer..
a[10] is equivalent to *a.
Is This Answer Correct ? | 15 Yes | 4 No |
Post New Answer View All Answers
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
which type of aspect you want from the student.
Is that possible to store 32768 in an int data type variable?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
Write a program to swap two numbers without using the third variable?
What is printf () in c?
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.
Explain what is #line used for?
Difference between macros and inline functions? Can a function be forced as inline?
In a switch statement, explain what will happen if a break statement is omitted?
When should I declare a function?
Explain what standard functions are available to manipulate strings?
Is file a keyword in c?
Ow can I insert or delete a line (or record) in the middle of a file?