Q. Determine Output

Code:
void main()
{
      char far *farther, *farthest;
      printf("%d..%d", sizeof(farther), sizeof(farthest));
}
  • (A) 4..2
  • (B) 2..2
  • (C) 4..4
  • (D) 2..4
πŸ’¬ Discuss
βœ… Correct Answer: (A) 4..2
Explanation: The second pointer is of char type and is not a far pointer.
Explanation by: Rajeev Malhotra
The second pointer is of char type and is not a far pointer.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
211
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Rajeev Malhotra
Publisher
πŸ“ˆ
97%
Success Rate