Тёмный

C Array - Part 3 | C Language Tutorial 

Naresh i Technologies
Подписаться 1,3 млн
Просмотров 601 тыс.
50% 1

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 285   
@NareshIT
@NareshIT 5 лет назад
Please Comment, Subscribe and Click Bell🔔🔔🔔 Icon for More Updates. To learn software course from our experts please register here for online training: goo.gl/HIB0wL
@kvenkatram6752
@kvenkatram6752 5 лет назад
Sir,Actually if we choose array size as 50 and wanted to enter 50 elements than how can we insert a new element into this array in any location inside it...
@snehak2406
@snehak2406 5 лет назад
@@kvenkatram6752 Hi,Good Question. in this case you need to increase the size first from 50 to 60 or 70(upto how many element you want to insert). lets say if you want to insert 3 element,make it 55. Hope you understand it.
@shrikantinamdar9781
@shrikantinamdar9781 4 года назад
Are loop is not working can I get help pl advice
@priyakumawat3882
@priyakumawat3882 4 года назад
Insert element in array program does not execute properly in turbo c & dev c ++ compilers Please tell me solution as soon as possible
@sudheerbandaru7228
@sudheerbandaru7228 4 года назад
Please explain how to print the array after inserting another array in desired location.
@ramprasath106
@ramprasath106 6 лет назад
Sir please post a video for 2d array
@ronnygamerz88
@ronnygamerz88 3 года назад
Me too .needed.
@Samuel-hs7bi
@Samuel-hs7bi 3 года назад
@@ronnygamerz88 ru-vid.com/group/PLVlQHNRLflP8IGz6OXwlV_lgHgc72aXlh
@goyaldeekshant
@goyaldeekshant 4 года назад
Here is the first complete code: Of Insert element in array. #include main() { int arr[50]; int n, ins,i,loc; printf("enter the size n of array in use "); scanf("%d",&n); printf("start entering %d elements now ",n); for(i=0;i=loc;i--) { arr[i+1]=arr[i]; } arr[loc]=ins; printf("new updated array is "); for(i=0;i
@pritipana6821
@pritipana6821 Год назад
Can you explain this program...?
@vikramjothik5900
@vikramjothik5900 6 лет назад
Thanks,sir Your. Way of approach to logic is easy and understanding.
@thefireclub2883
@thefireclub2883 Год назад
It's very Complex
@deepthi662
@deepthi662 4 года назад
Thank you sir !..Ur explanation is so clear and understandable .
@haripriya8034
@haripriya8034 6 лет назад
These videos are helping me so much and ur explanation is super sir
@sahilshrikhande2997
@sahilshrikhande2997 5 лет назад
Very very very nice quality and very very amazing and interesting.....love you
@Yemimareddy
@Yemimareddy 5 лет назад
Thank you sir, for your valuable explanation.
@joesonworome8846
@joesonworome8846 3 года назад
Thank you Sir for your wonderful explanation
@siddareddybhashitha740
@siddareddybhashitha740 7 лет назад
one of the best explanations i have never seen.superb explanation sir
@nithishbobby1410
@nithishbobby1410 5 лет назад
Ya there me be..but he is one of them
@srivanikothavadla4606
@srivanikothavadla4606 4 года назад
@@nithishbobby1410 👍👍👌
@nithishbobby1410
@nithishbobby1410 4 года назад
@@srivanikothavadla4606 😊
@brightsides2881
@brightsides2881 4 года назад
Did you practice bro this problem
@StrangerDon
@StrangerDon 6 лет назад
2d,multiple dimensional array
@shrutikadhabale937
@shrutikadhabale937 3 года назад
Thankful for this tutorial.it will be great sir, if you give some seconds to take a screenshot.
@PavanKalyan-vi5iv
@PavanKalyan-vi5iv 4 года назад
You are done a good job👏👍. This is very helpful for non software graduates (hardware) because I am an Electrical student. Your training sessions are very helpful for our students and you are explaining very clearly and well👏👏👍👌. Keep it up srinivas sir
@balemanohitha1316
@balemanohitha1316 5 лет назад
Please explain 2 dimensions and 3dimensional arrays sir
@ankitkumarojha7510
@ankitkumarojha7510 2 года назад
Thnk u sir
@aratisethi4813
@aratisethi4813 3 года назад
Thank you so much sir.
@meenadevi-dv8xk
@meenadevi-dv8xk 4 года назад
Insert element in array program does not execute properly in terbo c & dev c++ compiler
@pranjal5890
@pranjal5890 6 лет назад
Sir... You are ideal teacher for me... i want a c program for writing the quaditic equation
@deepthisiripuram3568
@deepthisiripuram3568 2 года назад
When I am executing the code the element is inserting properly but after insertion the other positions are printing as garbage values
@tiburaishimura3774
@tiburaishimura3774 6 лет назад
Really good channell.Whats the name of this lecture of arrays?
@sanjoymondal2698
@sanjoymondal2698 7 лет назад
Very good.
@reflection2087
@reflection2087 6 лет назад
really amazing sir
@SmartProgramming
@SmartProgramming 6 лет назад
the way you explain is awesome sir, love to watch your tutorials, thanks a lot 👍👍
@KrishnaSonavane
@KrishnaSonavane 5 лет назад
Great !!!!
@dilips2025
@dilips2025 6 лет назад
Sir can you please do a video on two dimentional and multi dimentional array
@Makash2037
@Makash2037 4 года назад
Outstanding
@seelammadhusagar4176
@seelammadhusagar4176 7 лет назад
Make videos on 2d array bro
@sing759
@sing759 6 лет назад
here is code example: #include #include int main() { int arrA[50],i,m,n,arrB[20],loc; printf("enter your arrA size: "); scanf("%d",&m); printf("enter your arrA "); for(i=0;i
@ajjunikhila
@ajjunikhila 5 лет назад
Here y we are using stdlib.h
@sing759
@sing759 5 лет назад
@@ajjunikhila you don't need to use stdlib.h in this program, there is no error even u don't include it. In code-block IDE, it is a default that they are including both header files when you create a new project, that is why. By the way, stdlib.h is related to function and method for memory allocation and on the other hand stdio.h contains methods related to file input and output.
@ajjunikhila
@ajjunikhila 5 лет назад
@@sing759 OK tq for your reply
@gmskapil
@gmskapil 5 лет назад
i have run your program but error:stray '\357' in program
@stephenprofullobala5016
@stephenprofullobala5016 5 лет назад
Thank you
@Alok_Mandal
@Alok_Mandal 5 лет назад
Awesome explanation of a horrifying program. In few hours of lecture, i learnt a lot ,build up concept, way to approach to solve to problem. Thank you sir
@benjaminfrank9166
@benjaminfrank9166 6 лет назад
Sir could you please make videos on 2D arrays
@shansmarson
@shansmarson 7 лет назад
All Your Vedios are Good Sir Very Helpful
@jeevangowda3309
@jeevangowda3309 3 года назад
Sir in previous video ur saying wrong strlen() function counts including null character it counts from 0 to 9 not 1 to 9 .bcz of this when I am watching the 3 part of string to reverse the string I am not getting output I have check code and entered everything like u said but the one thing u said wrong about this strlen() by using this it swaps the null charater also so we have to use strlen()-1 then null will not Swaped.
@saraswathipashikanti6214
@saraswathipashikanti6214 7 лет назад
Sir ,pls explain 2d arry n sorting ...ur explanation is very clear than other's...
@gopalkushwah4214
@gopalkushwah4214 2 года назад
11:00 how to insert all the elements of one Array into another Array
@samratchatterjee972
@samratchatterjee972 4 года назад
sir can you upoad video on two dimensional array please sir.
@lakshmivignesh1258
@lakshmivignesh1258 6 лет назад
sir, teach us 2D array also
@taniananda8849
@taniananda8849 5 лет назад
here, don't arr[I+1] == arr[i] has to be like this....Don't we need to put is equal to (=) sign two times at 9:38
@mahidhar7096
@mahidhar7096 7 лет назад
naresh i technologies is really superb, I have learned many topics from you
@Trafalgar_D_law_
@Trafalgar_D_law_ 4 года назад
Can anyone explain once from 1:23 to 3:23 ,what is enter size and why &n,what is n there
@padmavathysivagnanam675
@padmavathysivagnanam675 4 года назад
Sir I need 2d array in c programming
@柳春一
@柳春一 4 года назад
Sir would you like to come to work in Japan;)
@pariminagalakshmi5517
@pariminagalakshmi5517 3 года назад
japan,we want our lecture ..such a wonderfull teaching ,we dont want to loose such intelligent...
@abhishekshah8818
@abhishekshah8818 5 лет назад
Sir your explanation trick is outstanding............thankyou sir
@admiringaakash6513
@admiringaakash6513 6 лет назад
sir i m not able to write print statement at last to print new formed array
@beastgamer2556
@beastgamer2556 3 года назад
in lastline of the 1st program must be: arr[loc-1]=key;
@tarandeepsingh4291
@tarandeepsingh4291 5 лет назад
not bad but u didn't covered sorting of array in any of the array videos plz make that too
@mullamohammadzubair9508
@mullamohammadzubair9508 3 года назад
#include void main() { int arr[10],n,i,key,loc; printf("enter the elements that should be stored "); scanf("%d",&n); printf("enter the %d elements :",n); for(i=0;i=loc;i--) { arr[i+1]=arr[i]; } arr[loc]=key; } not getting correct output
@shubham_skadam
@shubham_skadam 4 года назад
Sir, actually there might be some problem in the program of insertion of a new element in the array, Because when I execute it in my PC I found that when I insert a new element and then try to print the whole series of the array to check whether everything is perfect I saw an element got deleted and shifting has occurred but the first element of the array has been deleted which shouldn't happen according to your explanation.can you just say what's wrong ??
@md.kowshikahammed3522
@md.kowshikahammed3522 4 года назад
use less than equal when you print
@bagibankingshine3085
@bagibankingshine3085 6 лет назад
hlw sir, in inserting program what will i write to print inserting value?
@darshanmanjunathraochawan2635
@darshanmanjunathraochawan2635 2 года назад
#include #define start main int start () { int a[6] = {10,20,30,40,50,60}; int b[3] = {100,200,300}; int loc,i,m=6,n=3; printf("Enter location to insert: "); scanf("%d",&loc); for (i=m-1; i>=loc; i--) { a[i+n] = a[i]; } for(i=0; i
@missdancezter3017
@missdancezter3017 4 года назад
how to print the array with inserted value??
@missdancezter3017
@missdancezter3017 4 года назад
i got it //WAP to insert a element in array #include int main(void) { int arr[50],n,i,key,loc,j; printf("Enter the size of array:"); scanf("%d",&n); printf("Enter the elements of array:"); for(i=1;i=loc;i--) { arr[i+1]=arr[i]; } arr[loc]=key; for(j=1;j
@HariPattimi
@HariPattimi 10 месяцев назад
Program for inserting one array element into another array #include #include int main() { int a[50],b[60],m,n,i,key,loc; printf("enter the size of array elements: "); scanf("%d",&n); printf("enter the %d elements ",n); for(i=0;i
@vanthanar.6028
@vanthanar.6028 4 года назад
Plz explain one , two, three and multi dimensional array???
@rahulpatil3333
@rahulpatil3333 5 лет назад
public private protected ka video banao sir
@mayank7494
@mayank7494 6 лет назад
Sir i am truly amazed by the way of explaining these things you show these programs as a piece of cake...........thanq so much sir but i have a question sir i want sorting and searching algos in 2D array sir can u try to provide it to me or others i have seen others are also asking for the same.......it will be a great show of caring for your students......thanx again sir keep it up
@uakash658
@uakash658 3 года назад
I will practice system this program output is not come
@feliecitybye
@feliecitybye 5 лет назад
Please make more videos for complex arrays and some exercise examples! Love your videos. Greetings from Russia!
@Trafalgar_D_law_
@Trafalgar_D_law_ 4 года назад
Hello
@abhishekshah8818
@abhishekshah8818 5 лет назад
Outstanding sir !!!! Sir please give some hard examples on array Part 3
@pritipana6821
@pritipana6821 Год назад
Sir when we enter the fixed size of the array, how does it become to 6 which means how size increase? And can we perform with the help of an increment operator ?
@tanvijharbade
@tanvijharbade 4 года назад
Sir plz provide us java tutorial as well....your explanation is really good
@do1747
@do1747 4 года назад
I tried to apply the insertion of array to another array but nothing appeared when I ran the code. Does anybody know why?
@kajolkumawat7018
@kajolkumawat7018 4 года назад
I also tried this mathod but it was not show output property . You found this solution please give me at soon at possible.
@yolokazizungu9074
@yolokazizungu9074 2 года назад
@@kajolkumawat7018 hy its funny how we all having the same problem. if u found the program pls kindly share. thanks in advance
@clindodevassy1083
@clindodevassy1083 7 лет назад
Very helpful video, thank you very much.
@ananya5688
@ananya5688 3 года назад
Thank you sir for this wonderful video This video helps me alot to understand the concept of array easily.
@deepthisiripuram3568
@deepthisiripuram3568 2 года назад
I am getting garbage values after printing the updated array what should I do
@sujitsah7223
@sujitsah7223 4 года назад
we have to change (loc) to (loc-1) in loop and arr[loc-1]=key;
@rahulvishwakarma6235
@rahulvishwakarma6235 5 лет назад
Aap hm jaise logo k masiha ho Jo achche college me nhi ja pate or rh jate h Kisi quantum jaise chijo k bharose ...
@nithishbobby1410
@nithishbobby1410 5 лет назад
Fantastic explanation sir im your fan for your teaching but please upload 2d arrays....
@devjanidevi4384
@devjanidevi4384 5 лет назад
Thank you SIR, for making me understand the array
@dipalimahajan4360
@dipalimahajan4360 2 года назад
Sir my program is not running copy array to another array. Please can u tell in brief.
@argvarma9892
@argvarma9892 2 года назад
sir for example u consider index 6 suppose if it is 50 array then how to locate
@shaikmoginarshadrashadi5320
@shaikmoginarshadrashadi5320 4 года назад
Where is about 2 dimensional arrays???
@aravindmaddala4648
@aravindmaddala4648 7 лет назад
the way of explanation is simply superb sir, sir please can you explain about 3d arrys(brief explanation).
@kuppamhemanth6977
@kuppamhemanth6977 2 года назад
Sir how to count number of triplets present in an array sir I want what is the logic for that
@kondamahesh7819
@kondamahesh7819 5 лет назад
Awesome sir..,really helpful.Thanks a lot
@sumansourav1358
@sumansourav1358 3 года назад
Sir if enduser input is 51 then???? Help me out for this plz sir
@adapavijayalakshmi3727
@adapavijayalakshmi3727 4 года назад
Sir plzz make a video on 2d arrays
@PawanSharma-kj2ww
@PawanSharma-kj2ww 6 лет назад
PL explain 2 d array
@ajithkumarkm4225
@ajithkumarkm4225 6 лет назад
Very good explanation .... Pls Post video about 2d arrays sir
@ABODASINGUNITISH
@ABODASINGUNITISH 4 года назад
excuse me sir why don't we take size as an variable
@rohandalvi8045
@rohandalvi8045 4 года назад
If user provides all 50 elements then how can we insert an element in an array by shifting when there won't be space left in that array?
@goyaldeekshant
@goyaldeekshant 4 года назад
as in array, memory is fixed, so we can't do that. We have to add memory in array a or initially just use 46-47 places etc
@samratchatterjee972
@samratchatterjee972 5 лет назад
sir your explanation is good please upload more example on arrays . and there is many repeatation of videos on some topic
@ashutoshnayak4942
@ashutoshnayak4942 3 года назад
Sir not working Insertion of an element to an arrey !
@smitpatel3981
@smitpatel3981 4 года назад
We can write Int[size] instead of a[50] after scanf?
@yolokazizungu9074
@yolokazizungu9074 2 года назад
hey guys, here is the code for the last question about taking the elements b [ ] and inserting them in a [ ]. #include int main() { int a[9]={10, 20, 30, 40, 50, 60}; int b[3]={100, 200, 300}; int i; int loc=2; for (i=5; i>=loc; i--) { a[i+3]=a[i]; } for(i=0; i
@dibyashankhabhattacharya3774
@dibyashankhabhattacharya3774 3 года назад
There has a small mistake. for inserting element for loop Will be for(i=n-1;i>=loc-1;i--) and arr[loc-1]=key;
@govindhonrao266
@govindhonrao266 5 лет назад
main() { int a[10],i,j,sum=0,n; int large; printf("Enter the no:"); scanf("%d",&n); for(i=0;i
@kolasudha15
@kolasudha15 4 года назад
Superb explanation sir
@xshay2164
@xshay2164 2 года назад
Hi Sir, we have defined the key location and loc location in the memory location and definition coding, however, we have given an integer value to the key location = 100; and a memory location value to loc=2;. But where have we defined the loc value to be taken as a memory location (2 )in the block???
@awadhkishor7892
@awadhkishor7892 6 лет назад
best explanations
@meetrajpopat2348
@meetrajpopat2348 5 лет назад
#this code is written in python for inserting element a = [1,2,3,4,21,34,12,5,7] element=int(input("enter a element you want to insert:")) ind=int(input("enter a index for that element:")) a.insert(ind,element) print(a)
@gomathirmariyamm977
@gomathirmariyamm977 7 лет назад
sir very thank you for this video
@Do_ItForAnime
@Do_ItForAnime 3 года назад
At 3;22 why I should less than n it should be less than n+1
@guddititejesh5426
@guddititejesh5426 3 года назад
Size of array is upto 50 only.
@vellacreator
@vellacreator 3 года назад
Sir here some videos are arranged in random manner plz arrange them in sequence in which we have to watch
@Ellenki_007
@Ellenki_007 4 года назад
instead of writing enter element to insert you could have writtened enter replaceable new element to insert ie key element
@shirishayellaboyina9634
@shirishayellaboyina9634 2 года назад
Super sir your classes very intrest sir
@sreenivas5454
@sreenivas5454 6 лет назад
U r d bst teacher to explain i understand very clearly right ..will you teach devops also sir if u teach means ivl come nd join in institution sir plz rply me...
@pushpendra5354
@pushpendra5354 7 лет назад
it's really good
@sonadwivedi21
@sonadwivedi21 3 года назад
Perfect 👍🏻
@div2014
@div2014 3 года назад
Sir ,plz make the video in 2d and multi dimensional arrays
@denisdkhar322
@denisdkhar322 6 лет назад
Good Job! you are good at it. nice effort. Thank you.
Далее
Strings in C Programming | Part-1 | C Language Tutorial
33:34
Button Web Server Control In ASP Net
5:15
Просмотров 311
Лиса🦊 УЖЕ НА ВСЕХ ПЛОЩАДКАХ!
00:24
Lecture 10
19:20
Просмотров 8 тыс.
C Array - Part 1 | C Language Tutorial
17:33
Просмотров 1,4 млн
C Array - Part 2 | C Language Tutorial
13:08
Просмотров 665 тыс.
C_46 Arrays in C - part 1 | Introduction to Arrays
18:19
Strings in C Programming | Part-2 | C Language Tutorial
21:20
realloc() | C Language Tutorial
12:55
Просмотров 217 тыс.