In qu. 25..... .there is a semicolon after for loop.....so loop will never be executed or it does not hv any statement and hence """hello""" will be printed as it is through printf
Question no 88 is still confusing I think j should be 10 because the parentheses is the first priority (j=I+10) now j becomes 10 and it will check with and operator i &&10=0&&10 =0 but j value is 10 clear me if I. Wrong
The answer is 8. Struct will take multiples of next multiple of largest byte data type.Here Int-4 char -1. total=5. so next multiple of 4 after 5 is 8.
I think for 0, the opposite value is 1 as it is boolean logic. so !a for a=0 ==> !(0) = 1 now if condition.. if(!a>=400) will still be False. as if(1>=400) is if(0) or if(False).
i=0 gets decremented like -1,-2,-3..........-2^31(min value in integer). Now the decremented value taken by compiler is +2^31-1(Max value in integer). Now its get decremented 2^31-2, 2^31-3........2^5..2^4(16)...15...14..13..... 7.. 6.. then 5.
there is a semicolon after for loop.....so loop will never be executed or it does not hv any statement and hence """hello""" will be printed as it is through printf
Good that you understood the mistake and corrected them. This is a good quality to know ones own mistake. Cheers.
Thank you. Keep Learning.
You are a very responsible UA-camr. Most of the content creators never put in the time and effort to correct the mistakes. Highly appreciated sir.
Most welcome for ur words.... Keep Learning... Watch Next 50 MCQs in C in the following link ua-cam.com/video/AlOQMTr5zD0/v-deo.html
still check Q. 62 there is one extra parentheses in the last which will result in to "error" output
1,3,7,15,16,18,23,25, 33,35,39,62,63, 64,65,70,71,88,97 are corrected questions. 😎
Watch Next 50 MCQs in C in the following link
ua-cam.com/video/AlOQMTr5zD0/v-deo.html
Thanks for making the effort ! .
If possible, Can you please make all the correction in the previous video and upload it again
Thank you. Keep Learning.
Thanks for resolving our doubts again
Thank you. Keep Learning.
Super bro 💪 all questions are awesome and good level do more and more like this typical questions on c language for competitive exams
Thank you .. Keep learning.
Go for next 50 mcqs
ua-cam.com/video/AlOQMTr5zD0/v-deo.html
In qu. 25..... .there is a semicolon after for loop.....so loop will never be executed or it does not hv any statement and hence """hello""" will be printed as it is through printf
Please watch this video for review. ua-cam.com/video/eO5MkLqgiro/v-deo.html
Tq sir gave lot of confidence
Thank you.. Keep Learning...
Please try this too...
Next 50 mcqs
ua-cam.com/video/AlOQMTr5zD0/v-deo.html
is there any one who explain Q64 because when i run, it will show 455 as output.
Amazing Content !
thank you sir for your effort You have helped us in best way possible. Please upload more such snippets or twisters.
Surely i will upload...You can watch this playlist for placement related stuff in C
ua-cam.com/play/PLYT7YDstBQmEGhVqAoubBS0OE_5m4JDUe.html
Question no 88 is still confusing I think j should be 10 because the parentheses is the first priority (j=I+10) now j becomes 10 and it will check with and operator
i &&10=0&&10 =0 but j value is 10 clear me if I. Wrong
Sir.. Can you please upload mcq questions on java
Thanks for corrections
Always welcome...You can watch this playlist for more stuff in C
ua-cam.com/play/PLYT7YDstBQmEGhVqAoubBS0OE_5m4JDUe.html
Great work brother.
Thank you.... Keep Learning... Watch Next 50 MCQs in C in the following link ua-cam.com/video/AlOQMTr5zD0/v-deo.html
Hello, i had a doubt, that for a struct stud with char and int, what is the size of the struct?? Please help me
The answer is 8. Struct will take multiples of next multiple of largest byte data type.Here Int-4 char -1. total=5. so next multiple of 4 after 5 is 8.
Sir question no.88 () have higher priority so 1st () excute .Then we excute according to the && concept.
Watch this video for clarity..
ua-cam.com/video/eO5MkLqgiro/v-deo.html
bro instead of int x u have to take the float then only u get the rem = 0.3 otherwise due to the int it takes only 0 and print 0
Q No. 7 is one such dangerous question. Most of us will commit mistake in first attempt for sure.
yes.. u r right...
Sir in q.3 if i give a=0
Then the value of not(a) is how much weather it is greater than 400 or not
I think for 0, the opposite value is 1 as it is boolean logic. so !a for a=0 ==> !(0) = 1
now if condition.. if(!a>=400) will still be False. as if(1>=400) is if(0) or if(False).
Sir after watching this very clearly and learning concept, Now is it simple to crack interviews??, and technical exams??
Yes ofcorse..
For qstn 33 ,if we replace %d with %f will that give 0.3 .Because 0.3 is float value
No. it won't. 4.3%2 itself gives syntax error.
question no 97 ..i vlaue after being 16 gets incremented to 17 & then default is used 17+4 =21
yes
Please try this too...
Next 50 mcqs
ua-cam.com/video/AlOQMTr5zD0/v-deo.html
Sir make it for java plzzz 🙏🙏
Sir can u please upload mcqs on java
MCQs in Data structures will be uploaded soon.
Thank u sir
Please give proper reason for q.25
How i gets value 5
i=0 gets decremented like -1,-2,-3..........-2^31(min value in integer). Now the decremented value taken by compiler is +2^31-1(Max value in integer). Now its get decremented 2^31-2, 2^31-3........2^5..2^4(16)...15...14..13..... 7.. 6.. then 5.
@@CSEGURUS after attaining minimum negative integer value(-2^31)
will it becomes 0.
Just like a clock attaining 1 after 12.
@@dr.anubhavkumarprasad5765 lol no. It becomes the max value of int not 0.
there is a semicolon after for loop.....so loop will never be executed or it does not hv any statement and hence """hello""" will be printed as it is through printf
@@BarkaDog So if no condition is given properly it will end at the highest value of i??
In 97th question there is value as 5 but you didn't go by case 5 .You went case 1 .how is it?
there is no break in case 0. thats why i+=2 will be executed immediately...