Pointers and 2d arrays in c | Simple Program | C Programming | Lec-48

preview_player
Показать описание
C Programming
pointers and 2d arrays with the help of example

#cprogramming #pointersinc #arraysinc #pointer #arrays #computersciencecourses #cprogramminglanguagebeginners #cprogramminglanguagebasics #computerscience #cprogrammingtutorial #computerscienceducation #cprogrammingvideo #computerengineering #engineering #engineeringvideos #education

Class Notes ( pdf )

Complete Playlist : C Programming

Complete Playlist : DATA STRUCTURES ( DS )

Complete Playlist : STLD

Complete Playlist : COA

Complete Playlist : OOP's in C++

Complete playlist : Design and Analysis of algorithms (DAA)

Complete Playlist : OPERATING SYSTEM ( OS )

Complete playlist : DBMS

Complete playlist : ARTIFICIAL INTELLIGENCE ( AI )

Complete Playlist : Theory of Computation ( TOC )

Complete Playlist : Web Technology

Complete Playlist : Compiler Design
Рекомендации по теме
Комментарии
Автор

I have to say I did not enjoy the Hinglish language for teaching, but this woman is so amazing it didn't even bother me her accent. She should be a professor! Thank you so much for this video. You have clear so many confusions that I had! God bless your soul!

Juanbaez_
Автор

You are such a good person i always see your video in 2019 i have to give my exam of bca1st year i have seen all your video it is very helpful really you are great you explain very clearly each topic

DeepakKumar-ncuw
Автор

Nice one, u explained pointers in 2d array as well as scale factor of the pointers

vaskaran
Автор

You are just amazing
Thank you so much 👍🤘

sadanandrajmane
Автор

int is 4bytes right, u have not mentioned short int then how the address increased by 2bytes for an integer???

divyasree
Автор

The code runs without any error. Thanks

harshitraj
Автор

Can u explain by using pointers in 1d array

anantharasaras
Автор

Thanks ma'm. Just a question: Isn't the "int" type size 4 bytes? I could get the point anyway, thank you.

ulysses_grant
Автор

In printf you didn't mention scale Is it OK ah Doubt mam

srinivasand
Автор

In 64 bit system use *(p+(i*columnsize+j))

shaikhnabeel
Автор

I want like this mam...Please Help me.... X= 1²_2²+3²_4²+....n²

rakshithar
Автор

Mam can you explain me network topology i am very confuse pls post video of network topology

DeepakKumar-ncuw
Автор

cant we use directly *(*(p+i)+j); directly in printf statement for printing the values

kishanreddy
Автор

Ma'am I guess you forgot to multiply with scale factor 2 in the program....

devkartik
Автор

Mam u did'nt use scale factor while solving the programe in example

planetcomputercenter
Автор

in 2d array *p=a; is not possible, this will give u an error

DailyCRINGEShorts
Автор

i'm confused. i tried to run her code and i think there's a problem on the matrix form. can someone pls help me, i would really appreciate it.
#include <stdio.h>

int main ()
{
int a[3][3];
int i, j;
int *p;

printf("Enter elements of 2-dimensional array: ");
for (i=0;i<3;i++){
for (j=0;j<3;j++){
scanf("&d", a[i][j]);
}
}

p = &a[0][0];
printf("Elements of the 2 dimensional array are: \n");
for (i=0;i<3;i++){
for (j=0;j<3;j++)
printf("%d\t", *(p+i*3+j));
}
printf("\n");

}

lemonnmint
welcome to shbcf.ru