what is the purpose of the code, and is there any problem
with it.
unsigned int v[10];
unsigned int i = 0;
while (i < 10)
v[i] = i++;
Answer Posted / goutham
trying to fill the array v[i] with post increment of i,
there is no problem;
output is
v[0]=0;
v[1]=1
v[2]=2
v[3]=3
v[4]=4
v[5]=5
v[6]=6
v[7]=7
v[8]=8
v[9]=9
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
Write a function that will take in a phone number and output all possible alphabetical combinations
a value that does not change during program execution a) variabe b) argument c) parameter d) none
What is the process to create increment and decrement stamen in c?
What do the functions atoi(), itoa() and gcvt() do?
Array is an lvalue or not?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
what is the different bitween abap and abap-hr?
Write a c program to demonstrate character and string constants?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
Explain how do you view the path?
What does %2f mean in c?
What is the use of in c?
What is static memory allocation? Explain