549 views
1 votes
1 votes

Please log in or register to answer this question.

Related questions

473
views
1 answers
1 votes
tusharb asked Mar 1, 2022
473 views
Suppose we have a 32-bit memory and we have to representunsigned int a = -5What will the memory representation look like?000000…….1011or 111…..1011
6.2k
views
1 answers
6 votes
Satbir asked Jun 1, 2019
6,228 views
#include<stdio.h> #include<stdlib.h> int main(void) { int maxLineCount = 500, maxCharCount = 500, index, j, count; char *line = NULL; size_t size; char ... as input in 3 different lines then how can we access each character of the string?
1.2k
views
2 answers
2 votes
srestha asked May 13, 2019
1,151 views
Can someone explain the output of this code? and what (char*) is doing actually?#include<stdio.h> struct Ournode{ char x, y, z; }; int main() { struct Ournode p={'1', '0', 'a'+2} ... ("%c, %c", '*((char*)q+1)', '*((char*)q+2)'); return 0; }
646
views
1 answers
0 votes
Ashish Roy 1 asked Apr 11, 2019
646 views
X=2;Y=++x * ++x * ++x ;Printf("%d",Y);In the above question, we have to use the final value of x or it will be evaluated seperately and then multiplied.Ex: Y= 3*4*5; or Y=5*5*5;