Комментарии:
Why array's index starts from 0?
Ответить:o
ОтветитьBut why can't we use variables in place of macros? Is that not allowed?
Ответитьawesome content ...😍😍
Ответитьwhat is the difference b\w macros and global declaring varibales plz tell me bro.........🙂
ОтветитьBadiya sir
Ответитьnice video
Ответитьhonestly i think that i didn't learn abt macro method in clg lectures thank you for sharing abt it
ОтветитьThank You Sir
ОтветитьYou are excellent man, keep up the good work 👍👍
ОтветитьThank you so much sir . your tutorials help me a lot
ОтветитьLike first year students 👇👇
ОтветитьSir thoda बड़ा video banaye
ОтветитьDede nie yazılım örenmedin aq
Ответитьvinod
Ответитьuhm sir how do i divide 2 elements in an array? or how do i perform division just by using its own index
Ответитьcan't we use variable instead of macro
ОтветитьThank you sir
ОтветитьThank you sir for such a nice explanation.
Ответитьwhat will happen if we create a variable instead of using macro pls answer.
ОтветитьITS comming error in my programme
Ответитьsir we can simply declare an other variable and store this inside an array insted of declaring a macro
ОтветитьNo doubt it's good to understand but make same in Urdu
Ответитьcomic timing super 👨🏫👨🏫
Ответитьi loved the lecture
ОтветитьVery good bro
ОтветитьI'm not able to remember what is macro🙄 can anyone help me?
ОтветитьWhy your video is not loud...?
It's very problematic...
Thanks a lot sir
ОтветитьExcellence Award of teaching goes to u sir.... 👏🏻👏🏻👏🏻😍
Ответитьverry very nice video thanks sir
ОтветитьYou are explaining very slowly and clearly so it makes me interesting and easy to understand .
ОтветитьTysmmm
ОтветитьWhy index starts with 0 ?
ОтветитьCan it be written like this instead of macro
Void main()
{
int size = 5;
int arr[size];
}
Omg! hes extraordinary with his explanations:), the way he motivates for the next topic is just brilliant thank you sir ❤️
ОтветитьYou are incridible ❤️
ОтветитьIn my opinion we should ask length from the user so there is no need to change anything anywhere
Code👇
int main()
{
int n;
printf("enter length\n");
scanf("%d",&n);
int a[n],i;
for(i=0; i<n; i++)
{
printf("enter the input for index %d: ",i);
scanf("%d",&a[i]);
}
printf("array elements are as follow\n");
for(i=0; i<n; i++)
{
printf("%d",a[i]);
}
return 0;
}
I think we should declare a variable and ask the user how much length of array you want ?
ОтветитьThank u
ОтветитьSuch a brilliant explanation to every topic. In my college lecture i always get confused and scared that what will happen. But sir you are really a life saver:)👍Great work sir
ОтветитьWe will see in next lecture❌right now😄
ОтветитьSir can we declare variable N as int N=10 inside main() instead of using macro and then make changes to N as required.
ОтветитьYou are the best
Ответитьwhy do we need macro for defining length of array? we can also use an int variable.
Ответить