Home / MCQ Bank / Computer
Computer Pointer

What will be the output of the following C code? #include <stdio.h> int main() { int a[4] = {1, 2, 3, 4}; int b[4] = {1, 2, 3, 4}; int n = &b[3] - &a[2]; printf("%d\n", n); }

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • -3

Related Computer Questions

Short Key Of Window Refreshing ? Which of the following operator is used to capture all the external variable by value? To save a workbook, you: Maximum data rate of a channel for a noiseless 3-kHz binary channel is In Access press PAGE UP