gr8 job bro....keep it up......ur way of teaching fantastic .....u elaborate very nice each mcs.....good bless u......try to other chapters ...............my best wishes with you bro
Sir new class start kariye o level k kiye c language ki January 2020 exam k liye ..Plzz sir.apki class bahut achi lagti hai ap bahut ache se samjhate hai
Don't worry. It depends on compiler. C language standard isn't uniformly implemented by compiler designers as far as expression evaluation is concerned. Don't worry.
Round off means to convert to integer from flot. Eg. 3.65 is float. int(3.65) will remove .65 and only keep 3. So to convert a float to integer or round off , you must write ( int) ( float number)
*(int) (3.2) = 3* Here (int) is called typecasting. This converts to integer. *(int)(3.5) = 3* *(int)(3.8) = 3* *Round off (float) to integer means take near integer value.* Ex: Round off (3.2) to integer = 3 and Round off (3.8) to integer = 4. Formula: *Round of (x) to integer = (int) (x + 0.5)* *where x is float.* *Round off (3.2) to integer* = (int) (3.2 + 0.5) = (int) (3.8) *= 3* *Round off (3.5) to integer* = (int) (3.5 + 0.5) = (int) (4.0) *= 4* *Round off (3.8) to integer* = (int) (3.8 + 0.5) = (int) (4.3) *= 4*
@@programmingfunda5788 *float to integer* and *round off (float) to integer* both are different. *float to integer:* (int) (3.2) = 3 (int) (3.8) = 3 *round off (float) to integer:* round off (3.2) = 3 round off (3.8) = 4
*(int) (3.2) = 3* Here (int) is called typecasting. This converts to integer. *(int)(3.5) = 3* *(int)(3.8) = 3* *Round off (float) to integer means take near integer value.* Ex: Round off (3.2) to integer = 3 and Round off (3.8) to integer = 4. Formula: *Round of (x) to integer = (int) (x + 0.5)* *where x is float.* *Round off (3.2) to integer* = (int) (3.2 + 0.5) = (int) (3.8) *= 3* *Round off (3.5) to integer* = (int) (3.5 + 0.5) = (int) (4.0) *= 4* *Round off (3.8) to integer* = (int) (3.8 + 0.5) = (int) (4.3) *= 4*
It depends what functions you are using. Stdio.h only give you basic functions like printf. For strings you need another header file. For File operations, you need another file.
sir question no. 10 ko jab turboo c++ se run karte he to x=11, y=16 aata he aur jab Dev c++ se run karte he to 10 aur 16 aata he sir ek hi question ke do different answer kaise ho sakte hain please help me immediately.
Nice question Dilshad. The difference is that Dev C++ uses the MINGW compiler, where Turbo C++ uses Borland's compiler. Both compilers are designed in different way. You can't guarantee their behavior will be same for complex expressions. Use parentheses ( ) for extra care to force it to evaluate the way you want compiler to do.
X=x++ ya fir x=x++ dono ka result same hi aayega. Dono hi case me x ki value increment hogi. Par agar app y=x++ likhte hai to y me x ki original value jaayegi fir x ki value increment hogi. Y=++x likhte hai to y me x ki value increment ho ke jaayegi.
@@programmingfunda5788 dear x=x++ Me first Jo x ki value hai wo print hogi... Baad me increment hoga... In case x=++x Me first increment then print value of x.... Eg.. x=1 x=x++ Print value of x 1 then increment x=++x Print value of x 2
Ask question again. Print to tum ne kiya hi nahi. Sirf assign kiya hai, yani ki value store ki hai. X= x++; ya fir x=++x; dono case me x ki value 1 increment hogi. Agar print krte ho directly ya kisi variable y ki dete ho to difference dikhega. Fir example, Int x=1; Y=x++; Printf(" %d %d, x,y ); Y=++x; Printf(" %d %d, x,y ); Try this.
@@kapilberwal9041 No. There is light error. Eg1 : x=1 x=x++ (x is incremented here. So after this line x will print 2.) Eg2 : x=1 y=x++ (First y =x will happen, y will print 1, then x will increment, so x will print 2) Eg3: x=1 x=++x (x is incremented here. So after this line x will print 2.) Eg4: x=1 y=++x ( (First ++x will happen, then given to y, so y will print 2 and x willalso print 2) Eg5: x=1 ++x (ya fir x++, its same when there is no left side) (x is incremented here. So after this line x will print 2) Hope this helps.
*Ans:* 10, 16 x = 10; y = 15; x = x++; y = ++y; Result: *x = 10, y = 16* x = 10; y = 15: a = x++; b = ++y; Result: *x = 11 , y = 16* , a = 10, b = 16. *Note:* *x never change if x = x ++.* *x will change if a = x ++.*
Super duper awesome 😎 sir ji ....thank you so much sir ji 🙏🏻🙏🏻🙏🏻
Questions to thik h or samjh bhi aaya
Par ek or bat sir
Aapki aavaj bhut achchi h
Thanks for compliments.
Bahut accche
V comprehensible video sir
answer 8 virtual memory is generally used to increase the apparant size of physical memory
Thanks
Very useful video
gr8 job bro....keep it up......ur way of teaching fantastic .....u elaborate very nice each mcs.....good bless u......try to other chapters ...............my best wishes with you bro
So easy
Sir new class start kariye o level k kiye c language ki January 2020 exam k liye ..Plzz sir.apki class bahut achi lagti hai ap bahut ache se samjhate hai
For file manipulation in c 'stdio.h' header file is used
Sir PlZZ PDF provide kijiye na it will help me in exam 🙏🙏🙏🙏
Sir aise hi Aur mcq c, c++ dono ka upload kriye
Sure. Will do soon.
Sir or bhi vedio banavo bahut badiya tha
answer 13 assembler converts the program written in assembly language into machine instructions
Super
Thank you.
Ur video is very helpful
Glad you liked it.
answer 3 printf("
") written in the program to get new line on the screen
10-(c)10,16
First print the value of x then increment the value of x.
*x never change* if x = x ++.
*x will change* if a = x ++.
Yes you are right
Thnx Sir
answer 1 Keyboard is the input type of device
answer 2 The storage of a character variable is one byte
sir short questin one model banaye
Means ?
Sir universal gate se ex-or and ex-nor kese banaye
Ex-or gate me kitne nand gate use hote he sir?
Sir question no 10 ka answer 10,16 a raha hai in c compiler
Don't worry. It depends on compiler. C language standard isn't uniformly implemented by compiler designers as far as expression evaluation is concerned. Don't worry.
answer 7 the format string to accept a string is %s
Can explain me d que round off valve
Round off means to convert to integer from flot. Eg. 3.65 is float.
int(3.65) will remove .65 and only keep 3. So to convert a float to integer or round off , you must write ( int) ( float number)
*(int) (3.2) = 3*
Here (int) is called typecasting.
This converts to integer.
*(int)(3.5) = 3*
*(int)(3.8) = 3*
*Round off (float) to integer means take near integer value.*
Ex: Round off (3.2) to integer = 3 and
Round off (3.8) to integer = 4.
Formula:
*Round of (x) to integer = (int) (x + 0.5)*
*where x is float.*
*Round off (3.2) to integer* = (int) (3.2 + 0.5)
= (int) (3.8) *= 3*
*Round off (3.5) to integer* = (int) (3.5 + 0.5)
= (int) (4.0) *= 4*
*Round off (3.8) to integer* = (int) (3.8 + 0.5)
= (int) (4.3) *= 4*
@@programmingfunda5788
*float to integer* and *round off (float) to integer* both are different.
*float to integer:*
(int) (3.2) = 3
(int) (3.8) = 3
*round off (float) to integer:*
round off (3.2) = 3
round off (3.8) = 4
*(int) (3.2) = 3*
Here (int) is called typecasting.
This converts to integer.
*(int)(3.5) = 3*
*(int)(3.8) = 3*
*Round off (float) to integer means take near integer value.*
Ex: Round off (3.2) to integer = 3 and
Round off (3.8) to integer = 4.
Formula:
*Round of (x) to integer = (int) (x + 0.5)*
*where x is float.*
*Round off (3.2) to integer* = (int) (3.2 + 0.5)
= (int) (3.8) *= 3*
*Round off (3.5) to integer* = (int) (3.5 + 0.5)
= (int) (4.0) *= 4*
*Round off (3.8) to integer* = (int) (3.8 + 0.5)
= (int) (4.3) *= 4*
4 no. Question ka order kya hoga?
answer 6(b) condition
Sir kaise hoga stream. h, C me to stdio. h header file use hota hai, plz ans me
It depends what functions you are using. Stdio.h only give you basic functions like printf. For strings you need another header file. For File operations, you need another file.
sir question no. 10 ko jab turboo c++ se run karte he to x=11, y=16 aata he aur jab Dev c++ se run karte he to 10 aur 16 aata he sir ek hi question ke do different answer kaise ho sakte hain please help me immediately.
Nice question Dilshad. The difference is that Dev C++ uses the MINGW compiler, where Turbo C++ uses Borland's compiler. Both compilers are designed in different way. You can't guarantee their behavior will be same for complex expressions. Use parentheses ( ) for extra care to force it to evaluate the way you want compiler to do.
Function control loop means ?
It's only to confuse you. There is no such thing.
Sir 10 que
Ans b 10,16
x=x++ Means x ki value 10 print hone k baad increment hogi
X=x++ ya fir x=x++ dono ka result same hi aayega. Dono hi case me x ki value increment hogi. Par agar app y=x++ likhte hai to y me x ki original value jaayegi fir x ki value increment hogi. Y=++x likhte hai to y me x ki value increment ho ke jaayegi.
@@programmingfunda5788 dear x=x++
Me first Jo x ki value hai wo print hogi... Baad me increment hoga...
In case x=++x
Me first increment then print value of x....
Eg..
x=1
x=x++
Print value of x 1 then increment
x=++x
Print value of x 2
Ask question again. Print to tum ne kiya hi nahi. Sirf assign kiya hai, yani ki value store ki hai.
X= x++; ya fir x=++x; dono case me x ki value 1 increment hogi. Agar print krte ho directly ya kisi variable y ki dete ho to difference dikhega.
Fir example,
Int x=1;
Y=x++;
Printf(" %d %d, x,y );
Y=++x;
Printf(" %d %d, x,y );
Try this.
@@kapilberwal9041 No. There is light error.
Eg1 :
x=1
x=x++
(x is incremented here. So after this line x will print 2.)
Eg2 :
x=1
y=x++
(First y =x will happen, y will print 1, then x will increment, so x will print 2)
Eg3:
x=1
x=++x
(x is incremented here. So after this line x will print 2.)
Eg4:
x=1
y=++x
( (First ++x will happen, then given to y, so y will print 2 and x willalso print 2)
Eg5:
x=1
++x (ya fir x++, its same when there is no left side)
(x is incremented here. So after this line x will print 2)
Hope this helps.
@@programmingfunda5788
x never increment if x = x++.
Sir jo last quetion tha small program ese hi vedio banavo
Right
watch with 1.5 speed.
No 2x
answer 11 array index start at 0
10. b answer hoga
Nope
answer 15(c) 8 bytes
6.condition
*Ans:* 10, 16
x = 10;
y = 15;
x = x++;
y = ++y;
Result: *x = 10, y = 16*
x = 10;
y = 15:
a = x++;
b = ++y;
Result: *x = 11 , y = 16* , a = 10, b = 16.
*Note:*
*x never change if x = x ++.*
*x will change if a = x ++.*
The answer depends on which compiler you use. Sometimes. Don't go in too detail in post and pre. Use ( ) instead.
Last question me 1 kyu print krega k ki to koi value di nhi hai
for loop me k ka value 1 diya geya he
answer 12 (a)dot
Hey
7.d
3.a
11.c
Question 10 answer is B 10,16
I am also thinking that
No ! It will print 11,16 only....
Answer of questions 10 is wrong
Surprise : It depends on what compiler you're running. Its not Java. Hence not universal results. Specially on operators.
Question number 10 is having wrong answer the correct ans is optipon B
Yes
4.a