Home / MCQ Bank / Computer
Computer Fundamentals Difficulty: Medium

What will be the output of the following C code? #include <stdio.h> void main() { char a = 'a'; int x = (a % 10)++; printf("%d\n", x); }

Select the correct option to test your answer:

More Computer Questions

What is the data type of the following variable declaration: var name = "John"; Carakan is used by which of the following browsers? How many member functions are there in this C++ class excluding constructors and destructors? class Box { int capacity; public: void print(); friend void show(); bool compare(); friend bool lost(); }; What are the actual parameters in C++? What will be the output of the following C# code? class number { int length = 60; public int number1 { get { return length; } } } class Program { public static void Main(string[] args) { number p = new number(); int l; l = p.number1 + 40; int k = l * 3 / 4; Console.WriteLine(k); Console.ReadLine(); } }