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

Which of the following is a valid way to declare a character variable in C#?

Select the correct option to test your answer:

More Computer Questions

Which of the following statement read a tab or space delimited file? In Access press CTRL+F6 to When using the SQL INSERT statement: Which keyword is used to catch exceptions in C#? What will be the output for the following code? #include <stdio.h> bool func(int arr[], int n, int sum) { if (sum == 0) return true; if (n == 0 && sum != 0) return false; if (arr[n-1] > sum) return func(arr, n-1, sum); return func(arr, n-1, sum) || func(arr, n-1, sum-arr[n-1]); } int main() { int arr[] = {4,6, 12, 2}; int sum = 12; int n = sizeof(arr)/sizeof(arr[0]); if (func(arr, n, sum) == true) printf("true"); else printf("false"); return 0; }