. 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
Explain how can I convert a string to a number?
largest Of three Number using without if condition?
Are bit fields portable?
Write a program to print all permutations of a given string.
Write a program with dynamically allocation of variable.
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
what will be maximum number of comparisons when number of elements are given?
Can you apply link and association interchangeably?
What is output redirection?
How can I send mail from within a c program?
What is the value of h?
What is the difference between struct and union in C?
write a c program for swapping two strings using pointer
How do I send escape sequences to control a terminal or other device?
What is the difference between array and pointer?