int arr[] = {1,2,3,4}
int *ptr=arr;
*(arr+3) = *++ptr + *ptr++;
Final contents of arr[]
Answer Posted / guest
{1,2,3,4}
| Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
What is volatile variable how do you declare it?
Why is not a pointer null after calling free?
What is a static variable in c?
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
Explain how can you tell whether a program was compiled using c versus c++?
How reliable are floating-point comparisons?
If the size of int data type is two bytes, what is the range of signed int data type?
What are conditional operators in C?
Why c is called object oriented language?
Discuss the function of conditional operator, size of operator and comma operator with examples.
why return type of main is not necessary in linux
What is the difference between array and structure in c?
What is the size of array float a(10)?
what is different between auto and local static? why should we use local static?
What are the main characteristics of c language describe the structure of ac program?