🔥Finding it Damn Hard to Understand C Programming? Learn to code-the right way-with interactive lessons, quizzes & challenges. Build a strong programming base; it's IMPORTANT! Try Programiz PRO for Free: bit.ly/master-c-programming
I noticed your continue smile in every tutorial. I know it's your profession part and you have to do. You might feel you chicks tired and painfully. But this is the truth. Society wants work. Thank you for these videos carrying you continue smile face yes it's not natural but good job womean. Hope you let your chicks relax....
FOR CHAR = 'c' (1:33) in video ASCII VALUE means Input: N = 8 Output: 8 (56) Explanation: ASCII value of 8 is 56 TO PRINT THE ASCII VALUE, 48 is required to be added to the digit. 0 = 48 1= 49 (48 + 1) 2 = 50 (48 + 2) 3 = 51 (48 + 3) the ASCII NO. only have [ 0-9 ] only , which is [ 48-57 ] Initially, i also dn but i searched for it and share some here. Hopefully it helpful. If yes like this comment. TQ. For more info searched it at google.
The answer is 68. '8' means it is a char data type variable. Hence, the char data will be converted to the ASCII value '56', making it 56 + 12 which is = 68. Thank you for the wonderful tutorials.
The value of the result in the statement is "int result = '8' + 12; is '68" The reason being that, the ASCI value for '8' is = 56, therefore 56+12 = 68. Thank you
#include #include int main() { char a = '8'; int b - 12; char result = (char) a + b; printf("%d", result); } I always watching in this channel and practice, i amazed because you explain even small details and i love it.
Here's the general rules T result = here first the expression is evaluated and what ever the the result is, it is always converted to the type of T at the end. Expression could be a complex one, but it is evaluated according to the presendence of the operators. double res = 5 / 2 + 1.0; // in this case (5/2) is evaluated as 2 and the temporary result (2) is located in the expression. which is double res = 2 + 1.0 and in this case since one operant is double 2 is promoted and became 2.0 double res = 2.0 + 1.0 then the addition is performed and res is assigned to 3.0
The Answer is 68. '8' means it is a char data type variable to the ASCll value => 56 And Addition it 56 + 12 which Answer is = 68. Thank you for Wonderful Tutorials.
*INT WAS CONVERTED TO DOUBLE NOT BECAUSE OF THE RANKING* - the int data type was converted to double because of *promotion* as the result variable was of higher rank but if it was of lower rank like int then there would be *demotion.* Therefore no matter what the rank of the variable type is on the right side, the implicit conversion is done based on the ranking of the left side variable type.
ASCII value of digits [0 - 9] ranges from [48 - 57]. Therefore, in order to print the ASCII value of any digit, 48 is required to be added to the digit.
Programiz Quizz Answer: Option(B) 68 Explanation: int result = '8' +12; here, '8' takes the input as 56 because '8' indicates the ASCII value of 8 which is 56. Hence, the addition will be 56+12 which is 68. TIPS: The ASCII No.s are from 0-9 which have the value from 48-57.
B. 68 #include int main() { char a = '8'; // char '8' in ASCII = 56 a = 56 int b = 12; // b = 12 int result = a + b; // result = 56 + 12 68 printf(" %d ", result); }
Char is a type of data type that’s used for charecters (a,b,c,d, “ll”, “4” etc) and over here we are using 8 as a character and not an integer hence in the arithmetic operation the ASCII value of 8 is taken (which is 56) ❤
🔥Finding it Damn Hard to Understand C Programming?
Learn to code-the right way-with interactive lessons, quizzes & challenges. Build a strong programming base; it's IMPORTANT!
Try Programiz PRO for Free: bit.ly/master-c-programming
Thank you
Hello, how do I get an average of 3
I noticed your continue smile in every tutorial.
I know it's your profession part and you have to do. You might feel you chicks tired and painfully.
But this is the truth. Society wants work.
Thank you for these videos carrying you continue smile face yes it's not natural but good job womean.
Hope you let your chicks relax....
FOR CHAR = 'c' (1:33) in video
ASCII VALUE means
Input: N = 8
Output: 8 (56)
Explanation:
ASCII value of 8 is 56
TO PRINT THE ASCII VALUE, 48 is required to be added to the digit.
0 = 48
1= 49 (48 + 1)
2 = 50 (48 + 2)
3 = 51 (48 + 3)
the ASCII NO. only have [ 0-9 ] only , which is [ 48-57 ]
Initially, i also dn but i searched for it and share some here. Hopefully it helpful. If yes like this comment. TQ. For more info searched it at google.
thanks for this, it really helped
Tq
thanks, it really helped
Thanks man, it is really helpful
thanks bro ..... 😊
The answer is 68.
'8' means it is a char data type variable.
Hence, the char data will be converted to the ASCII value '56',
making it 56 + 12 which is = 68.
Thank you for the wonderful tutorials.
Exactly
How do we get 56
@@jackienanyonjo5447 take a look at the ascii table
printf("%d",name of variable );
Answer is B .
I am just a beginner and your tutorial has been of great help. Thankyou !!
Abhi khaan ho bro
This content has taught me more for free than I ever thought, keep up the good work.
Absolutely amazing video 👍👍
Keep going sister
Nice way of teaching
Your explanation is easy to understand . Thanks
The value of the result in the statement is "int result = '8' + 12; is '68"
The reason being that, the ASCI value for '8' is = 56, therefore 56+12 = 68.
Thank you
How do we get 56
#include
#include
int main()
{
char a = '8';
int b - 12;
char result = (char) a + b;
printf("%d", result);
}
I always watching in this channel and practice, i amazed because you explain even small details and i love it.
no need of
There is a mistake
int b = not -
Here's the general rules
T result =
here first the expression is evaluated and what ever the the result is, it is always converted to the type of T at the end.
Expression could be a complex one, but it is evaluated according to the presendence of the operators.
double res = 5 / 2 + 1.0; // in this case (5/2) is evaluated as 2 and the temporary result (2) is located in the expression.
which is double res = 2 + 1.0 and in this case since one operant is double 2 is promoted and became 2.0
double res = 2.0 + 1.0 then the addition is performed and res is assigned to 3.0
The Answer is 68.
'8' means it is a char data type variable to the ASCll value => 56
And Addition it 56 + 12 which Answer is = 68.
Thank you for Wonderful Tutorials.
How do you know that ‘8’ becomes 56?
I have started watching videos from today only and was thinking that c language is tough but thanks your videos make it look easy to understand
The answer is option b(68).
Thanks, I've learned a lot from watching these videos. :)
*INT WAS CONVERTED TO DOUBLE NOT BECAUSE OF THE RANKING* - the int data type was converted to double because of *promotion* as the result variable was of higher rank but if it was of lower rank like int then there would be *demotion.* Therefore no matter what the rank of the variable type is on the right side, the implicit conversion is done based on the ranking of the left side variable type.
Yes
ASCII value of digits [0 - 9] ranges from [48 - 57]. Therefore, in order to print the ASCII value of any digit, 48 is required to be added to the digit.
#include
int main() {
char a = '8';
int b= 12;
int result = '8' + 12;
printf("%d", result);
return 0;
}
The output is 68
I AGREE
int main() {
char a='8';
int b=12;
int result=a+b;
printf("%d",result);
return 0;
}
i get 68 as the output and anyone tell me is this correct
got same😃
Absolutely
This is the best tutorial video ive ever seen online, I'm sorry but I love every bit of this so much.
Is B - 68. Thank's for the lesson and clear explanations !
The output = 68.
'8' is converted to it's ASCII value and then added to the int value 12.
ASCII value of '8' = 56
Sum = 56 + 12 = 68.
How do we get 56
you need to refer ASCII table Char = '8' equal to 56@@jackienanyonjo5447
was waiting for this one for awhile
keep working on this amazingly helpful project
The Answer is 68.
Thank You for the great explanation 🙏 .
Your teaching style is amazing !! Please upload more videos
Thank your for these tutorials.. It's really well explained
Answer is 68
#include
int main(){
int result = '8' + 12;
printf("%d", result);
return 0;
}
You speaking skill and teaching skill too much good for me so I say thank you mam
I watched your 7 videos continuously because it is too valuable, easy and short to understand and learn 😊
Thank you programiz,thank you Padma manandhar 🙌👏👏💗
Programiz Quizz Answer: Option(B) 68
Explanation:
int result = '8' +12;
here, '8' takes the input as 56 because '8' indicates the ASCII value of 8 which is 56. Hence, the addition will be 56+12 which is 68.
TIPS:
The ASCII No.s are from 0-9 which have the value from 48-57.
B. 68
#include
int main() {
char a = '8'; // char '8' in ASCII = 56 a = 56
int b = 12; // b = 12
int result = a + b; // result = 56 + 12 68
printf("
%d
", result);
}
Hello. Thank you for your great cors. Please add the advance level for c programming too. Thanks alot ❤
I am just a beginner and your tutorial has been of great help. Thankyou !!
Precise and accurate. Thank you so much. 🥺🥺
option B is the correct answer because
('8' +48) +12 = 68
explanation: Always add more 48 to find ascii value of the desired number
Thank you so much
Perfect video as always thank you😍🤩
9:21 my answer is 68
char a = '8';
int b = 12;
int result = '8' + 12;
printf ("%d" , result );
answer is B
Thank you for doing it, great explanation 👍.
Representations are really awesome madam❤
5:50 let me sow u :3 just kidding. i love the way you describe everything. it's so clear and understandeable!
Essas aulas estão me salvando muito, parabéns.
Também gosto!
The answer is B.😀👍👍
I used C to answer it:
#include
int main() {
char quiz = '8';
printf("%d", quiz + 12);
return 0;
}
char a = '5';
Here the ASCII number of character 5 is 53 as per ASCII table
53 is the decimal value of char 5
it was great really and easy precise
really good course on C for the beginners!
the best beginners tutorial , i wish you made the advanced playlist too🥲🥲
Thank you so much mam really.. U teaching level is super.. Mam...
Great
One question, when writing rhe programs in copy we also use include and getch() but here we are not, any reason?
ANSWER = 68
int a = '8';
int b = 12;
int result = a + b;
printf("%d", result);
converting a decimal (double) to an integer with int will result in data loss by throwing away everything after the decimal point, pretty neat
The answer is B
thank you for support.
good explanation.
You are amazing with your talent sister 😮
The output is 8
X =5+2*9/3-3
We first start with the division,5+2*3-3
Next is mul.5+6-3
Next is add,11-3
Then we subtract=8
very informative
I'm waiting for your next video pls upload as soon as possible✨😇
program #include
int main(){
char a ='8';
int b = 12;
int result = '8'+12;
printf("%d", result);
answer is 68
In acsii the value 8 is 56, so 56 + 12 is equal to 68
Thank you!
Thank you for great explain 🙏
Very easy best I can learn
yes
Answer is B) 68 Because Ascii value of 8 is 56
thanks
result='8'+12
(The ask you value /ASCII value of '8' is 56.)
Then,
result= 56 +12 = 68
Option B : 68
I'm leaving a comment for the algorithms
Thankyou😇
thank you
can you explain why '5' goes to 53 i cant get it
Here 8 value =56 and 56+12= 68. S0,option =B
Ans 68❤❤❤from Nepal
thank you so much ❤❤❤
answer : 68 mam
The out put value is 68. when B is the answer
#include
int main() {
char a = '8';
int b = 12;
int result = a + b;
printf("%d", result);
return 0;
}
the output is : 68
printf("The answer is 68 option B
");
The Answer is = 68;
MAM
how do you know task values of characterss
B is the correct answer.
B
Is the right option
thanks so much!
great video, i just found the way you pronounce "zero zero zero" very funny 😅
Awesome 😎😎😎👍
68
The ASCII value of '8' is 56
option b is correct 68
answer is 8 for operators
The answer is B for programiz quiz
amazing vidio
Great video ❤
The answer to the quiz question is opion B
Happy programming
Answer B
Char means ? Why 8 will convert to 56?
Char is a type of data type that’s used for charecters (a,b,c,d, “ll”, “4” etc) and over here we are using 8 as a character and not an integer hence in the arithmetic operation the ASCII value of 8 is taken (which is 56) ❤
thanks a lot
Ans B 68 ; ASCII value of 8 is 56
B. 68
68