. Consider the following program
main()
{
int a[5]={1,3,6,7,0};
int *b;
b=&a[2];
}
The value of b[-1] is
(A) 1 (B) 3 (C) -6 (D) none
Answer Posted / veerendra
here b is an pointer. u r askng the value stored in a b's
array of -1....pointer may not be array here..
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
How do you define a string?
what do the 'c' and 'v' in argc and argv stand for?
can we implement multi-threads in c.
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
What are data structures in c and how to use them?
What are Macros? What are its advantages and disadvantages?
What is the benefit of using #define to declare a constant?
What is 2c dna?
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
What’s the special use of UNIONS?
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
Is c weakly typed?
What are the header files used in c language?
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)
Did c have any year 2000 problems?