213 views
0 votes
0 votes

please explain me the above code with example and what is the use of ~0 there

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
1
SHWETAV SUMAN asked Oct 6, 2022
330 views
i have typed the following code but when i executed it the solution was not according to my expectation.unsigned short int y= -9; int iy=y; printf(“%d”,iy); solutio...
3 votes
3 votes
1 answer
3
Bikram asked May 14, 2017
432 views
Assume that $a[4]$ is a one-dimensional array of $4$ elements, $p$ is a pointer variable and $p = a$ is performed. Now, which among these expressions is illegal?$p == a[0...
0 votes
0 votes
1 answer
4
Bikram asked May 14, 2017
374 views
Spot the error(s) in this code snippet :int n=2; // Line 1 switch(n) { case 1.5: printf( "gate"); break; case 2: printf( "overflow"); break; case 'A': printf("gateoverflo...