πŸ“Š C++
Q. What is the output of the following C++ program?
Code:
#include <iostream>
using namespace std;
int main ( )
{
  static double i;
  i = 15;
  cout << sizeof(i);
 return
  • (A) 2
  • (B) 4
  • (C) 8
  • (D) 15
πŸ’¬ Discuss
βœ… Correct Answer: (C) 8

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
213
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
85%
Success Rate