An array name contains base address of the array. Can we
change the base address of the array?
Answer Posted / sri
no , we cant change the base address.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
Explain how do you sort filenames in a directory?
What is the explanation for prototype function in c?
State two uses of pointers in C?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
What's the right way to use errno?
What is the 'named constructor idiom'?
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 calloc malloc realloc in c?
What are conditional operators in C?
How do shell structures work?
How will you find a duplicate number in a array without negating the nos ?
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
What is the difference between constant pointer and constant variable?
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"