C Programming (Important Questions Set 2)

preview_player
Показать описание
C Programming & Data Structures: Important questions in C programming.
Topics discussed:
1. Important questions of C language.

Music:
Axol x Alex Skrindo - You [NCS Release]

#CProgrammingByNeso #CProgramming #CProgrammingQuestions
Рекомендации по теме
Комментарии
Автор

The 0 thing for octal, i ran into that in production code once and it took me at least 30 minutes to figure it out. What happened was that to align various #defines in source code so that they look pretty, someone put a bunch of zeros in front of the numbers so everything lines up in the code and starts at the same column. The code was misbehaving in a weird way. After staring at the code for 20 minutes and finding seemingly nothing wrong with it, I fired up the debugger, went through the various actions to get to the code in question (this took 10 minutes) and only in a debugger after loading the value and seeing the wrong value in memory, by seeing what the value loaded was, I immediately realized it must be interpreting it as octal. I will never forget this! Hex is 0x, Binary is 0b, why not 0o for Octal? I love C++ (I know this is C) but having a plain zero mean octal is just insane...

mfkman
Автор

Such a valuable knowledge sir I didn't know that before truly speaking

AnkitSharma-oqwi
Автор

0:53 0 before integer is treated as an octal value

shreyeah-tf
Автор

Well, the real quality education is here. I really appreciate you all. Thanks a lot from Myanmar❤️

JackVaileon
Автор

Love you Neso Academy ❤

Edit : I hope you know how much easy you are making an engineering student's life !!! Thanks a million !!!!

shwetakadgi
Автор

Woh. That’s something I don’t know before. Great logic.

ishpreetsingh
Автор

nice video and lesson, has increased my understanding of C language

Kim-rhgt
Автор

2:34 Why is there no need of #Include <stdio.h>?

codeaider
Автор

I think when 52 octal is written with %o, it's not fortunate to pronounce the displayed 52 as fifty-two. It's misleading, especially for the beginners. That number has nothing to do with the number we know as the sum of five times ten plus two times one.
It's just "five-two (octal)".

lxathu
Автор

Best part of the videos is the explanation 💖💖for all the answers which arent provided by other channels; ❤❤

tej_rasane_
Автор

Which one is better neso or code with Harry.
A) neso
B) code with Harry

sandeeppadamatinti
Автор

Question series is the best parts ever sir and thanku

deepakbhardwaj
Автор

I thought it would be a compile error, for printf won't be found. But it's just a warning without #include <stdio.h>

max.caimits
Автор

You're doing a great job explaining this stuff! ^^

soranarapiteanu
Автор

what is the output for this c program?

#include<stdio.h>
#define STRING "%s \n"
#define NESO "Welcome to Neso academy"
int main()
{
printf(" Welcome to Neso Academy! " STRING, NESO ) ;
return 0;
}

MohankumarV-cbrv
Автор

neso academy.. thanks.. these questions were very tricky indeed

_subhambanerjee
Автор

I would like to say thank you so much to nesho academy .
I could not understand in my college during first year when i found this channel then i have been started learning c language and after watching all videos i have become as like master of c so once again thank u so much sir jee love u to all faculties of nesho academy

UTTAMKUMAR-gtfj
Автор

Comment for myself: putting 0 in front of an integer variable translates that number into an octal value. This is true if the variable is to be printed as a decimal. If it's "%o", and the value is an octal, then it prints normally.

compangit
Автор

Awesome I m now totally interested in the subject

niveshduppalapudi
Автор

please suggest a book from where we can practice quetion and test our knowledge.

shubhamaggarwal
welcome to shbcf.ru