programming languages Online Quiz - 104
Description: programming languages Online Quiz - 104 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
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; }
what is the output of the programme? #define ABC 20 #define XYZ 10 #define XXX ABC - XYZ void main() { int a; a = XXX * 10; printf("%d ", a); }
What is the result Integer i1=10; Integer i2=10; (i1==i2)-->result of this
What is the result os this String s1="hi"; String s2="hi"; (s1==s2)-->returns
Integer i1=10; Integer i2=10; (i1.equals(i2++))-->result is
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?
Anonymous Types is a feature of LINQ