Home / MCQ Bank / Computer
Computer Basic Syntax And Data Types In C Sharp Difficulty: Medium

Which of the following is a valid way to represent the number 1000 in C#?

Select the correct option to test your answer:

More Computer Questions

Computers process data into information by working exclusively with____________? What will be the time complexity of given code? #include <bits/stdc++.h> using namespace std; void convert(int a[], int n) { vector <pair<int, int> > vec; for (int i = 0; i < n; i++) vec.push_back(make_pair(a[i], i)); sort(vec.begin(), vec.end()); for (int i=0; i<n; i++) a[vec[i].second] = i; } void printArr(int a[], int n) { for (int i=0; i<n; i++) cout << a[i] << " "; } int main() { int arr[] = {10,8,2,5,7}; int n = sizeof(arr)/sizeof(arr[0]); convert(arr , n); printArr(arr, n); return 0; } Which directive sets a maximum allowable amount of memory in megabytes that a script can allow? Which of the following specifies animation code? Where does the return statement returns the execution of the program?