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
program for reversing a selected line word by word when multiple lines are given without using strrev
Can a pointer point to null?
pierrot's divisor program using c or c++ code
What is huge pointer in c?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
what is reason of your company position's in india no. 1.
Are local variables initialized to zero by default in c?
Why ca not I do something like this?
Explain what is output redirection?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
Explain setjmp()?
Explain how do you declare an array that will hold more than 64kb of data?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
Describe explain how arrays can be passed to a user defined function