Specify the output of the following code if the user enters 7
Question: void function_A(int x,int y){ int i; for(i=1;i<=x;i++) cout<<y; } void function_B(int n) { if(n!=0)
Read more
Here is the collection of C/C++ questions & answers. These C/C++ programming QNA’s will help you to learn various concepts like an array, pointer, string, data structure, and algorithm, etc.
Question: void function_A(int x,int y){ int i; for(i=1;i<=x;i++) cout<<y; } void function_B(int n) { if(n!=0)
Read moreQuestion 1) Gradient of a convex and differentiable function. Select one or more: decreases when approaching the minimum. is the
Read moreQuestion In this program the user will enter the following information for historical baseball players (up to the maximum number
Read moreQuestion: Explain this C programming, how it works, and more details. int iterationofsequence1(int n) { int sq[n]; int len=2; sq[0]=0;
Read moreQuestion Given below defined UML class diagram. Suppose that a file of object named “FComputer” stored computers. Write a method
Read moreQuestion: Design and Analysis of Algorithms. Consider the following description of a recursive algorithm: “The algorithm splits the input into
Read moreQuestion: Please write the code in C++. void InputNumbers(float *numbers, int count); void DisplayAll(float *numbers, int count); void DetermineTopFive(float *numbers,
Read moreQuestion Z Three Numbers Given two numbers K and S Determine how many different values of X,Y and Z such
Read moreQuestion Can you fix any mistake on this C program: #include <studio.h> #include <conio.h> #include <stdlib.h> void fcfsAlgorithm() { point
Read moreQuestion C++ 1) make a story like worker or game of using inheritance 2) you have to create 1 or
Read more