Python Related (3312)
PHP Related (7341)
Scala (340)
R Programming (396)
Kotlin (184)
Apache Groovy (39)
Ruby (245)
Go Programming Language (139)
Objective-C (429)
Programming Languages AllOther (746) 2)#include
6)swap(int x,y) { int temp; temp=x; x=y; y=temp; } main() { int x=2;y=3; swap(x,y); } after calling swap ,what are yhe values x&y?
3 2038218)struct base {int a,b; base(); int virtual function1(); } struct derv1:base{ int b,c,d; derv1() int virtual function1(); } struct derv2 : base {int a,e; } base::base() { a=2;b=3; } derv1::derv1(){ b=5; c=10;d=11;} base::function1() {return(100); } derv1::function1() { return(200); } main() base ba; derv1 d1,d2; printf("%d %d",d1.a,d1.b) o/p is a)a=2;b=3; b)a=3; b=2; c)a=5; b=10; d)none 19) for the above program answer the following q's main() base da; derv1 d1; derv2 d2; printf("%d %d %d",da.function1(),d1.function1(),d2.function1 ()); o/p is a)100,200,200; b)200,100,200; c)200,200,100; d)none 20)struct { int x; int y; }abc; you can not access x by the following 1)abc-->x; 2)abc[0]-->x; abc.x; (abc)-->x; a)1,2,3 b)2&3 c)1&2 d)1,3,4
1 10601write a program to swap bits in a character and return the value prototype of function char fun (char a, charb flag c) where fun returns a char, char a is a the value char b is the bit to be changed and flag c is the bit value for eg: x=fun(45,7,0) since 45 is 0010 0101 and ow x should contain the value 65 (0110 0101)
1 7358design a counter with the following repeated binary sequence: 0, 1, 2, 3, 4, 5, 6, 7, 8 using JK Flip Flop.
College School Exams Tests, IBD, IBM, Ignou, IIIT, Nortech, TCS, UOS,
3 17832if i want cin 12345678910 and cout abcdefghij. so how can i create the program?. example : if i key in 8910 so the answer is ghij.
3 6100sir plz send me a set of questions that been frequently held in written examination during campus selection.
TCS,
2079How to add two numbers without using arithmetic operators?
College School Exams Tests, e track, Infosys, Pan Parag, Sapient, TCS,
18 43863Write a program that read 2o numbers in and array and output the second largest number. Can anybody help??
7 10950Write code to read the records from a file and load any array of size 99?make sure that you take care of all the error conditions?
2095write the a cl program with the following specification A. Accept 2 parameters-date and date type B. if date type is J then convert date to *MDY format C. if date type is M convert date to *JUL format 4.send a program message with the value of converted date Please explain for each with coding?
2663Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
3557
Explain python list comprehension?
Differentiate between the manipulator and setf( ) function?
What are the symptoms of stl?
List some string function name in php?
What does map function in python do?
What is the extension of Kotlin file?
Why do we use setw in c++?
What is the isa member?
How does code-bloating occur in c++?
What is the string concatenation operator in php?
How do you clean pyc files?
In how many ways items can be added in an array in Ruby?
What is microsoft visual c++ 2017 redistributable?
what is VOID?
Describe the features and uses of the views module.