Detailed course structure for each branch and semister
Syllabus for each semester subjects
Previous Mid Exam Question Papers
Previous Semesters Final Exam Question Papers
What is the output of the following code?
int? a = 3;
int? b = 4;
int? c = null;
System.Console.WriteLine(a + c ?? b);
Does not compile
Since c is null, a c is null, therefore the value of b is returned.
The "??" operator is interpreted as if a c is not null, return a c, else return b