C coding

C coding

Share

PayByte is a software company

20/05/2017

Congratulations!
You have made yourself and your parents proud by scoring well for NPTEL (National Level) exams. This is the result of your hard work all through the year.
We proud of you.
Pawan Khatnawalia
Himanshu Singhania
Rahul Shivani
Ankit Soni
Sandeep Kumar Vyas
Ratnesh Shah
Kuldeep

Please let me know those who isn't in list.

20/02/2017

What happens if you try to compile and
run this program?


int main(void) {
int i,j;
int **p = (int **)malloc(2 * sizeof(int *));
p[0] = (int *)malloc(2 * sizeof(int));
p[1] = (int *)malloc(2 * sizeof(int));
for(i = 0; i < 2; i++)
for(j = 0; j < 2; j++)
p[i][j] = i + j;
printf("%d",p[0][0]);
return 0;
}
A. 3
B. 1
C. 0
D. 2

03/02/2017

what is output ??

int main()
{
int a=16705;
printf("%s" ,&a);
return 0;
}

27/07/2016

What output of this code?

void main( )
{
int a=10;
if( a==a-- )
printf( "true");
if (a== --a)
printf( "false");
}

Top 15 data structures and algorithms interview questions - Coding Security 04/06/2016

https://codingsec.net/2016/06/top-15-data-structures-algorithms-interview-questions/

Top 15 data structures and algorithms interview questions - Coding Security In this article I am going to post the top most asked atleast basic interview question you need to learn. Data structures and algorithm questions are an important part of any programming job interview, be it a Java interview, C++ interview or any other programming language. Since data structures are...

18/03/2016

What happens if you try to compile and run this program?

int main(void) {
int t[10] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }, *p = t + 4;

p += *p;
printf("%d",*p);
return 0;
}

Want your school to be the top-listed School/college in Jaipur?
Click here to claim your Sponsored Listing.

Telephone

Address


Pawankhatnawalia1413@gmail. Com
Jaipur