Programming Languages Interview Questions
Questions Answers Views Company eMail

int a[3][5]={ {1,2,3,4,5],{2,3,4,5,6},{10,11,12,13,14}}; int *p=&a; printf(“%d”,*(*(x+1)+3));

Wipro,

2 4180

#include main() { int i=5; printf("%d",i*i-- - --i*i*i++ + ++i); } tell the answer with correct reason .specially reason is important nt answer ans by turbo c is -39

GameLoft,

1 3587

what will be the output of this program? #include #define cube(x) x*x*x void main() { int i,j=5; i=cube(j+3); printf("i=%d",i); }

IBM,

6 7365

what is the difference between inter class and abstract class...?

1906

What is the output from this program? #include void do_something(int *thisp, int that) { int the_other; the_other = 5; that = 2 + the_other; *thisp = the_other * that; } int main(void) { int first, second; first = 1; second = 2; do_something(&second, first); printf("%4d%4d\n", first, second); return 0; }

3 5157

what is technical system, business system, logical system in sap pi7.0

IBM,

2120

what is pointer?

HCL, TCS,

13 12145

Find errors (1) m = ++a*5; (2) a = b ++ -c*2; (3)y = sqrt (1000);

5 6350

String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

HCL,

1932

stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

1841

Write the following function in C. stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

OpenFeel,

4 7699

how we can retrive data in pdf along php mysql?

2 3965

what is used for tmp table in oracle?

1575

what are you now programming Languages C+

HCL,

1 3408

what is delegate and delegation model give the real live example on delegate model

TCS,

2814


Un-Answered Questions { Programming Languages }

Suppose we have object B and aggregated object C (in- proc server), created by B. Can you access any interface of B from C?

574


What is yii 2?

3


What is workspace in go programming?

1


Why is button parameter “command” executed when declared?

452


Is hosting free with wordpress?

95






Explain differences between new() and delete()?

612


Why we use conio h in c?

580


Explain python’s pass by references vs pass by value.

468


Give 10 points of differences between C & C++.

614


Which one is easier r or python?

412


How will you explain guarded attribute in a laravel model?

380


What is the use of stripslashes in php?

535


which statement is used to take a decision based on the comparison?

491


What is adobe flash player activex used for?

402


How can you create a pca model in r?

93