C#.net Interview Question
A=10
B=5
C=A+B
Print C
The above will be given in a multiline textbox. You need to
parse the above input, store values for A,B&c. And you have
to display the value of C.
sir plz send me a set of questions that been frequently held in written examination during campus selection.
how to write a java program for an output ****0 ***01 **012 *0123 01234
difference between class and object
10 Answers Chandan, IBM, Magic Soft,
which is platform independent device used in computers
What is a friend function & its advantage?
What is Method overloading?
What is cohesion in oop?
design class for linked list and include constructor,destructor,insert option. struct node { int node; struct node &ptr; }
What is use of overloading?
What do you mean by inline function?
#include <string.h> #include <stdio.h> #include <stdlib.h> #include <conio.h> void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort
what is a ststic variable and stiticfunction briefly explain with exmple and in which case we use