what will be the output of this program?
void main()
{
int a[]={5,10,15};
int i=0,num;
num=a[++i] + ++i +(++i);
printf("%d",num);
}
Answer Posted / babu ba
6
Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
What is memcpy() function?
What is bubble sort in c?
Explain enumerated types in c language?
Explain is it better to bitshift a value than to multiply by 2?
What are the different types of errors?
what is recursion in C
How can I ensure that integer arithmetic doesnt overflow?
Why n++ execute faster than n+1 ?
Can we increase size of array in c?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
praagnovation
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
How many levels deep can include files be nested?
What is pointers in c with example?