main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / lucky
out put is 3 and it is correct
Is This Answer Correct ? | 18 Yes | 3 No |
Post New Answer View All Answers
What is the use of pragma in embedded c?
What is return type in c?
What is function prototype in c language?
Are pointers integers in c?
What is the benefit of using const for declaring constants?
What is array of structure in c programming?
Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent
What are lookup tables in c?
Explain how do you convert strings to numbers in c?
What is function definition in c?
Write a C program linear.c that creates a sequence of
processes with a given length. By
sequence it is meant that each created process has exactly
one child.
Let's look at some example outputs for the program.
Here the entire process sequence consists of process 18181:
Sara@dell:~/OSSS$ ./linear 1
Creating process sequence of length 1.
18181 begins the sequence.
An example for a sequence of length three:
Sara@dell:~/OSSS$ ./linear 3
Creating process sequence of length 3.
18233 begins the sequence.
18234 is child of 18233
18235 is child of 18234
........ this is coad .... BUt i could not compleate it .....:(
#include
I have seen function declarations that look like this
Explain which function in c can be used to append a string to another string?
Can you write the algorithm for Queue?
What are the advantages of external class?