Humble Request: Dear ma'am please make more videos of C (multiple choice). It will be very useful for UPPCL ARO and many other govt job exams. Thank You.
Q7 is wrong. Function argument evaluation order is undefined in C. So both "7 7 8" and "9 7 6" seems to be valid as well as any other order if the compiler so chooses. Conclusion: Don't write code like that.
Oh really..... Where I was wrong I admitted but that doesnt mean you will comment anything about any questions. Conclusion : if you are finding all answers wrong and you have more knowledge then why are you wasting your time watching my videos.
@@AECcomputers I'm confused. Are you saying argument evaluation order is defined as from right to left or are you saying I should stop and it does not matter if your viewers get the wrong answers on these "exam" questions?
Can you point me to that, because all I find is this statement in the C11 standard (port70.net/~nsz/c/c11/n1570.html#J.1) "J.1 Unspecified behavior 1 The following are unspecified: [...] * The order in which the function designator, arguments, and subexpressions within the arguments are evaluated in a function call (6.5.2.2)."
Yeah, after looking into this it it seems to depend entirely on the compiler. GCC outputs 9 7 6, but other compilers like Clang and ICC output 7 7 8. I have to agree this code seems very contrived and prone to errors.
These are bit wise operators > means shift the binary value n bits towrads right The above code will print 5 20 1 since binary value of x=5 is 0000000000000101 in 16 bits x will print 5 x2 will shift 2 bits towards right will print 1 Rest will explain it in detail in a video
No my friend answer is 50 Pointer is variable whose value is the address of the another variable i.e direct address of the memory location... Like any variable or constant you must declare a pointer berfore using It store any variable address The general form of a pointer Type * var name So address of a would be P and modified thr value and then print the value a= 50
Good
Nice
Great work ma'am...Thanx a lot.
Perfect videos
thank you madam ji....... please English ka video banaye.
Phle English me comments krlo 🤣🤣
Very easy questions
Thanks 🙂😊
Thanks
Ma'am Aapki videos se bht help milti h. Thanks a lot ma'am.
Mam these question are enough for bca entrance exam
In computer Awerance
Content part in C language
Bekr lecture kuch smjh nhi aaya
Thank u maamfor ur help... please upload more videos on mcq on c language...
Sure would be uploading more soon....
Thank you Didi.......
Ur video is very helpful please upload a video for C++ mcq
Thx mam..
Thnks so much
Thanks Medam
Mam I think in question 5 we use exponentia Singh ** for example 2**2 means 2×2= 4 ans ...exponent meaning rase to the power ....
-2 or any negative value in bollean represent as 0 or 1?
in c language it is considered as true
Thanks mam
int a=5;
a=a++;
what will be value of a after execution of second statement .Kindly tell reason as well.
5 cuz it is post increment it will first print value and then increments to 6 to the memory
Voice is not understandable nd audiable Plzz check that one,nice video tq mam
#include
void main()
{ unsigned int var=10;
Printf(«"%d",-var );
}
Wht is output and plz explain in detail
Ans is 10
It's python program< studio.h> are hidden file in library
Humble Request:
Dear ma'am please make more videos of C (multiple choice).
It will be very useful for UPPCL ARO and many other govt job exams.
Thank You.
sure will try to do
Thank You ma'am☺️
85doud969t79fd6f07fof97f79f96d9f69f97f79f07f97f96f9f96f96f69f97f6f96ff9f69f9ff9f9f69f69f699f6f96f96f69f9f96f69f699f9f96f9f96f69f69f69f69f69f96f69f69996
Q7 is wrong.
Function argument evaluation order is undefined in C.
So both "7 7 8" and "9 7 6" seems to be valid as well as any other order if the compiler so chooses.
Conclusion: Don't write code like that.
Oh really..... Where I was wrong I admitted but that doesnt mean you will comment anything about any questions.
Conclusion : if you are finding all answers wrong and you have more knowledge then why are you wasting your time watching my videos.
@@AECcomputers
I'm confused. Are you saying argument evaluation order is defined as from right to left
or are you saying I should stop and it does not matter if your viewers get the wrong answers on these "exam" questions?
the evaluation order is defined from right to left in standard C Compilers for printf statement
Can you point me to that, because all I find is this statement in the C11 standard (port70.net/~nsz/c/c11/n1570.html#J.1)
"J.1 Unspecified behavior
1 The following are unspecified:
[...]
* The order in which the function designator, arguments, and subexpressions within the arguments are evaluated in a function call (6.5.2.2)."
Yeah, after looking into this it it seems to depend entirely on the compiler. GCC outputs 9 7 6, but other compilers like Clang and ICC output 7 7 8. I have to agree this code seems very contrived and prone to errors.
int x=5;
printf("%d %d %d", x,x2);
please explane it mam,,,
These are bit wise operators
> means shift the binary value n bits towrads right
The above code will print 5 20 1
since binary value of x=5 is 0000000000000101 in 16 bits
x will print 5
x2 will shift 2 bits towards right will print 1
Rest will explain it in detail in a video
Ok mam thank u,, next video me isko explain kr dijiye plzzz,,,
I think
a = 80
How many of u agree !!!
No my friend answer is 50
Pointer is variable whose value is the address of the another variable i.e direct address of the memory location... Like any variable or constant you must declare a pointer berfore using
It store any variable address
The general form of a pointer
Type * var name
So address of a would be P and modified thr value and then print the value a= 50
Thanks