🔥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.
#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.
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
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.
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.
*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.
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
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); }
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.
🔥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.
Your explanation is easy to understand . Thanks
Absolutely amazing video 👍👍
Keep going sister
Nice way of teaching
keep working on this amazingly helpful project
#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 -
Is B - 68. Thank's for the lesson and clear explanations !
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
Your teaching style is amazing !! Please upload more videos
This is the best tutorial video ive ever seen online, I'm sorry but I love every bit of this so much.
The answer is option b(68).
Thanks, I've learned a lot from watching these videos. :)
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 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?
was waiting for this one for awhile
You speaking skill and teaching skill too much good for me so I say thank you mam
The Answer is 68.
Thank You for the great explanation 🙏 .
I watched your 7 videos continuously because it is too valuable, easy and short to understand and learn 😊
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.
Thank your for these tutorials.. It's really well explained
Thank you programiz,thank you Padma manandhar 🙌👏👏💗
*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
the best beginners tutorial , i wish you made the advanced playlist too🥲🥲
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
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
#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
Answer is 68
#include
int main(){
int result = '8' + 12;
printf("%d", result);
return 0;
}
I am just a beginner and your tutorial has been of great help. Thankyou !!
Precise and accurate. Thank you so much. 🥺🥺
Essas aulas estão me salvando muito, parabéns.
Também gosto!
Representations are really awesome madam❤
Thank you so much
Hello. Thank you for your great cors. Please add the advance level for c programming too. Thanks alot ❤
good explanation.
Perfect video as always thank you😍🤩
Thank you for doing it, great explanation 👍.
very informative
really good course on C for the beginners!
5:50 let me sow u :3 just kidding. i love the way you describe everything. it's so clear and understandeable!
Thank you so much mam really.. U teaching level is super.. Mam...
it was great really and easy precise
You are amazing with your talent sister 😮
The answer is B
thank you for support.
Great
option B is the correct answer because
('8' +48) +12 = 68
explanation: Always add more 48 to find ascii value of the desired number
char a = '5';
Here the ASCII number of character 5 is 53 as per ASCII table
53 is the decimal value of char 5
Thank you for great explain 🙏
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);
}
Thank you!
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.
amazing vidio
char a = '8';
int b = 12;
int result = '8' + 12;
printf ("%d" , result );
answer is B
I'm waiting for your next video pls upload as soon as possible✨😇
Very easy best I can learn
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.😀👍👍
I used C to answer it:
#include
int main() {
char quiz = '8';
printf("%d", quiz + 12);
return 0;
}
thanks
Thankyou😇
thank you so much ❤❤❤
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
Awesome 😎😎😎👍
In acsii the value 8 is 56, so 56 + 12 is equal to 68
ANSWER = 68
int a = '8';
int b = 12;
int result = a + b;
printf("%d", result);
Ans 68❤❤❤from Nepal
Ver nice!
Great video ❤
thanks so much!
result='8'+12
(The ask you value /ASCII value of '8' is 56.)
Then,
result= 56 +12 = 68
Option B : 68
Thank you
9:21 my answer is 68
I'm leaving a comment for the algorithms
thanks a lot
option b is correct 68
great video, i just found the way you pronounce "zero zero zero" very funny 😅
Here 8 value =56 and 56+12= 68. S0,option =B
answer is 8 for operators
program #include
int main(){
char a ='8';
int b = 12;
int result = '8'+12;
printf("%d", result);
answer is 68
One question, when writing rhe programs in copy we also use include and getch() but here we are not, any reason?
B is the correct answer.
yes
answer : 68 mam
68
The ASCII value of '8' is 56
The out put value is 68. when B is the answer
answer is b , keep it mam
Answer is B) 68 Because Ascii value of 8 is 56
nice
The answer is B for programiz quiz
#include
int main() {
char a = '8';
int b = 12;
int result = a + b;
printf("%d", result);
return 0;
}
the output is : 68
B
Is the right option
Answer B
The Answer is = 68;
MAM
68 as ascii value of 8 is 56
Option B
answer = 68 option(B)
Thanks my sister
68
it is option 'B' 68