Answer Posted / chittaranjan
int (*ptr)[10];
is the proper declaration of pointer to an array, i.e. ptr
is a pointer to an array of 10 integers .
Note:
int *ptr[10];
which would make ptr the name of an array of 10 pointers to
type int.
Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
Why is not a pointer null after calling free?
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
What is sizeof int?
what is event driven software and what is procedural driven software?
What is a function simple definition?
What does 4d mean in c?
What is character constants?
What are comments and how do you insert it in a C program?
What is a structure in c language. how to initialise a structure in c?
What does the && operator do in a program code?
#include
Why does this code crash?
What is %d called in c?
Place the #include statement must be written in the program?