programming languages Online Quiz - 104
Description: programming languages Online Quiz - 104 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
A function call is always an rvalue. True or false?
What is the value of y at the end of main? const int x = 5; int main(int argc, char** argv) { int x[x]; int y = sizeof(x) / sizeof(int); return 0; }
Print the output of this program main() { int k = 5; if (++k < 5 && k++/5 || ++k <= 8); printf("%d\n", k); }
What is result of the question Integer i1=10; Integer i2=10; (i1!=i2)-->result is
What is the result of this Integer i1=10; int i2=10; (i1==i2)-->result is
String s1=new String("abc"); String s2=new String("abc"); (s1==s2)-->result is
Integer i1=10; Integer i2=10; (i1.equals(i2++))-->result is
LINQ is abbreviation of
In which version of .Net framework LINQ has been introduced
Features of LINQ
List Names = new List(); Names.Add("A"); Names.Add("B"); Names.Add("C"); var res = Names.Where(n => n == "D"); if (res == null) Console.WriteLine("res is null"); else Console.WriteLine("res is not null"); Console.Read(); What would be printed?
List Names = new List(); Names.Add("A"); Names.Add("B"); Names.Add("C"); var res = Names.Where(n => n == "D"); res is the type of