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 / soni narula

6

Is This Answer Correct ?    4 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program for area of circumference of shapes

2032


Hi, i have a project that the teacher want a pyramid of numbers in C# or java...when we click a button...the pyramid should be generated in a listbox/or JtextArea...and the pyramid should have the folowing form: 1 232 34543 4567654 567898765 67890109876 7890123210987 890123454321098 90123456765432109 0123456789876543210 Plz help with codes...didn't find anything on the net.

2687


why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?

2263


#include int main(void) { int a=4, b=2; a=b<>2 ; printf("%d",a); return 0; }

1071


Design an implement of the inputs functions for event mode

2964






How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?

2023


Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?

3848


Develop a routine to reflect an object about an arbitrarily selected plane

2999


How to palindrom string in c language?

8847


What is full form of PEPSI

1866


Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange

2863


write a function to give demostrate the functionality of 3d in 1d. function prototye: change(int value,int indexX,int indexY,int indexZ, int [] 1dArray); value=what is the date; indexX=x-asix indexY=y-axis indexZ=z-axis and 1dArray=in which and where the value is stored??

4146


how to test pierrot divisor

2261


What is data _null_? ,Explain with code when u need to use it in data step programming ?

2824


Write a Program in 'C' To Insert a Unique Number Only. (Hint: Just Like a Primary Key Numbers In Database.) Please Some One Suggest Me a Better Solution for This question ??

1776