Can we access the array using a pointer in c language?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...

0 Answers  


#define swap1(a,b) a=a+b;b=a-b;a=a-b; main() { int x=5,y=10; swap1(x,y); printf("%d %d\n",x,y); swap2(x,y); printf("%d %d\n",x,y); } int swap2(int a,int b) { int temp; temp=a; b=a; a=temp; return; } what are the outputs?

4 Answers   Ramco,


What is the difference b/w Structure & Array?

6 Answers  


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

0 Answers  


class foo { public: static int func(const char*& p) const; }; This is illegal, why?

8 Answers   Google,






Would you rather wait for the results of a quicksort, a linear search, or a bubble sort on a 200000 element array? 1) Quicksort 2) Linear Search 3) Bubble Sort

3 Answers  


Write a program using bitwise operators to invert even bits of a given number.

2 Answers  


What is C++

4 Answers  


What is %d called in c?

0 Answers  


Write a program to remove the C comments(/* */) and C++ comments(//) from a file. The file should be declared in command line.

4 Answers   Persistent, Subex,


write a program to compare 2 numbers without using logical operators?

5 Answers   IBM,


what is difference between ++(*p) and (*p)++

17 Answers   Accenture, HCL, IBM,


Categories