realloc() | C Language Tutorial naresh i technology c language

by adminhuahinsunvilla3sd



C Language Tutorial Videos | Mr. Srinivas
** For Online Training Registration: ? Call: +91-8179191999

? Visit Our Website for Classroom Training:

? For Online Training:

————————–

? About NareshIT:

“Naresh IT is having 14+ years of experience in software training industry and the best Software Training Institute for online training, classroom training, weekend training, corporate training of Hadoop, Salesforce, AWS, DevOps, Spark, Data Science, Python, Tableau, RPA ,Java, C#.NET, ASP.NET, Oracle, Testing Tools, Silver light, Linq, SQL Server, Selenium, Android, iPhone, C Language, C++, PHP and Digital Marketing in USA,Hyderabad, Chennai and Vijayawada,Bangalore India which provides online training across all the locations

————————–

? Our Online Training Features:
1.Training with Real-Time Experts
2.Industry Specific Scenario’s
3.Flexible Timings
4.Soft Copy of Material
5. Share Videos of each and every session.

————————–

Please write back to us at us.training@nareshit.com/online@nareshit.com or Call us at USA:

+1404-232-9879 or India: +918179191999

** Check The Below Links**
? For Course Reg:
? Subscribe to Our Channel:
? Circle us on G+:
? Like us on Facebook:
? Follow us on Twitter:
? Follow us on Linkedin:

? Follow us on Instagram: .

Images related to the topic naresh i technology c language

realloc() | C Language Tutorial

realloc() | C Language Tutorial

Search related to the topic realloc() | C Language Tutorial

#realloc #Language #Tutorial
realloc() | C Language Tutorial
naresh i technology c language
You can see a lot of useful information here: See more here
You can see a lot of useful information here: See more here

Related Posts

32 comments

Kanakamahalakshmi Kunderu 08/03/2022 - 3:01 Chiều

Super explanation sir mind blowing

Reply
Linh Ngoc 08/03/2022 - 3:01 Chiều

tiếng Anh mình hơi ngu mà nghe vẫn hiểu, tuyệt vời

Reply
RAHUL YADAV 08/03/2022 - 3:01 Chiều

Dear sir,Kindly make a video on free function .i am highly confused.

Reply
PAREKH KUNJ TUSHARBHAI 08/03/2022 - 3:01 Chiều

Sir thank you for this wonderful video. I have one doubt that can I use data type(any) instead of void pointer in realloc function at a time of final data type allocation to realloc function

Reply
JoThish VJ 08/03/2022 - 3:01 Chiều

You are a hero sir❤️

Reply
tejas shahade 08/03/2022 - 3:01 Chiều

Sir, I want to know who is naresh

Reply
Afreen Ashraf 08/03/2022 - 3:01 Chiều

Sir your video really helped me to learn c language very well… Am very grateful to you sir

Reply
VIJAYAN K S 08/03/2022 - 3:01 Chiều

10:51 why sir u don't typecaset the void* into int* realloc() ……. The type of stack is Int*.. But we try to store void *

Reply
vashishtha siyaram 08/03/2022 - 3:01 Chiều

While using realloc function, instead of:

stack= (void*) realloc(stack,capacity*sizeof(int));

It should be:

stack= (int*) realloc(stack,capacity*sizeof(int));
Right?

Reply
Navya R 08/03/2022 - 3:01 Chiều

Sir ,stack=(void*)realloc(stack,capacity*size(int));
In above statement what will if we return int*

Reply
TE_B1_13_Rahul Prajapati 08/03/2022 - 3:01 Chiều Reply
Prudhvi Padala 08/03/2022 - 3:01 Chiều

sir,we need to int* in type casting of realloc right? why did you use void *? can any one please explain

Reply
G Rahul Reddy 08/03/2022 - 3:01 Chiều

Free function u did not uploaded sir

Reply
Aditya Hridyam 08/03/2022 - 3:01 Chiều

what about free function?

Reply
HakerRank Solutions 08/03/2022 - 3:01 Chiều

HackerRank easy Solutions and good stuff
@t

Reply
omkar sapte 08/03/2022 - 3:01 Chiều

Sir calloc function returns the 0 value inside the address block then how 10 20 are stored..

Reply
Moly Oxide 08/03/2022 - 3:01 Chiều

Fallen in love by the way Mr. Srinivas teaches.

Reply
Sarukan Segar 08/03/2022 - 3:01 Chiều

Sir I watched most of your c tutorials videos. Very well explained.
Thank you very much Mr.Srinivas.

Reply
Rahul Kumar 08/03/2022 - 3:01 Chiều

can someone help me to rectifie my error????
#include<stdio.h>

#include<conio.h>

#include<stdlib.h>

int main()

{

int n,*arr,i,size,increase,temp;

clrscr();

printf("Enter the sizr of array:");

scanf("%d",&n);

arr=(int*)calloc(n,sizeof(int));

if(arr=='')

{

printf("no memory is allocated");

}

else

{

for(i=0;i<n;i++)

{

printf("%dn",*(arr+i));

};

};

printf("enter the element in arrayn");

for(i=0;i<n;i++)

{

scanf("%d",&*(arr+i));

};

printf("you have enterd value are:");

for(i=0;i<n;i++)

{

printf("%dn",*(arr+i));

};

printf("do you want to enter more detail if choose the option:n1:yes n 2:no");

scanf("%d",&size);

switch(size){

case 1 : printf("enter the no of student you want to increase");

scanf("%d",&increase);

temp=n;

n=n+increase;

arr=(int*)relloc(arr,n*sizeof(int));

for(i=temp;i<n;i++)

{

scanf("%d",&*(arr+i));

};

printf("you have enterd value are:");

for(i=0;i<n;i++)

{

printf("%dn",*(arr+i));

};

break;

case 2: pritnf("thankyou");

};

getch();

return 0;

}

Reply
Pranav Singh 08/03/2022 - 3:01 Chiều

sir cant we change the value of capacity from 5 to 6

Reply
Герри Питт 08/03/2022 - 3:01 Chiều

thanks a lot!!!

Reply
Pradeep Kumar singh 08/03/2022 - 3:01 Chiều

thnk u sir

Reply
Murugan Ezhumalai 08/03/2022 - 3:01 Chiều

Your all videos are very nice with clear explanations…In this dynamic memory allocation videos, giving the name as stack in example is confusing , because dma uses heap memory and stack is different from heap…so please don't use the name stack in dma…If I am wrong, correct me..

Reply
Spicy Doge 08/03/2022 - 3:01 Chiều

Amazingly helpful for understanding the concept behind dynamic memory and how to properly use the calloc/realloc functions.
Major props !

Reply
E Prasad 08/03/2022 - 3:01 Chiều

Then why cant increase or decrease on structure by using malloc

Reply
M. S. 08/03/2022 - 3:01 Chiều

Good job! Thanks!

Reply
Siddesh IM 08/03/2022 - 3:01 Chiều

Please vidios upload sequentially and ur my best sir tnx

Reply
Akhilnani 090 08/03/2022 - 3:01 Chiều

nice teaching brother i have learn very much for ur videos pls continue further topics brother

Reply
Aman Kumar 08/03/2022 - 3:01 Chiều

introduce perl tcl tutorial like this .
give some script ing examples

Reply
REBHU ROY 08/03/2022 - 3:01 Chiều

hey sorry for kind of different post in this video but still.wanna know prerequisites of Android P with Machine learning please let me inform..thanks and best wishes for diwali..

Reply
sandeep Kumawat 08/03/2022 - 3:01 Chiều

Sir i wanna ask something to you
Sir who is naresh.

Reply
Malar mathi Malar 08/03/2022 - 3:01 Chiều

Nice explanation sir and i am eagarly waiting to your upcoming videos.

Reply

Leave a Comment