How do I declare a pointer to an array?

Answer Posted / sureshreddy

data_type (*ptr)[];
ex: int (*ptr)[10];

pointer to arry of 10 elements

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff

2754


What are different storage class specifiers in c?

850


Why we write conio h in c?

756


Why do we need volatile in c?

932


How can I remove the trailing spaces from a string?

810


What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?

1006


What is exit() function?

749


What are the valid places to have keyword “break”?

821


What is local and global variable in c?

842


What is the size of enum in c?

833


What is the value of h?

796


Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"

1815


Why isnt there a numbered, multi-level break statement to break out

804


What does typeof return in c?

832


What do you mean by Recursion Function?

856