Join Regular Classroom : Visit ClassroomTech

Author name: Code Window

Reverse a String in C

What is String?The string is a character array that ends with a null character denoted by ‘\0’. Now, in this program, we have to reverse a string in c programming.Suppose the Input is: codewindowThen the Output will be: wodniwedoc We have definitely different approaches to code this program. Using in-built function strrev() Without using in-built

Reverse a String in C Read More »

Infytq Python Solve

Which of the following functions call will execute successfully?Choose two correct optionsa. display_cat_details(“Black”,”Roger”,”Snow”)b. display_cat_details(“white”)c. display_cat_details(“Grey”, pet_name=”Grey)d. display_cat_details(“Brown”,”Nelly”) Answer a, d Explanation In this function, there are three parameters among them the last parameter is optional. In option b only one parameter is passed so it will not be a proper call. And in option c

Infytq Python Solve Read More »

Wipro Coding Question Solve

BUCKET ID C C #include<stdio.h> int main() { long int n; scanf(“%ld”,&n); int m; m=n%10; while(n) { if(m>n%10) m=n%10; n=n/10; } printf(“%d”,m); return 0; } ODD EVEN ONLINE GAME C C #include<stdio.h> int main() { int n; scanf(“%d”, &n); int i,a[n]; for(i=0;i<n;i++) { scanf(“%d”,&a[i]); } for(i=0;i<n;i++) { if(a[i]%2==0) printf(“%d “,a[i]); } for(i=0;i<n;i++) { if(a[i]%2!=0) printf(“%d “,a[i]);

Wipro Coding Question Solve Read More »

Function in C

Function Introduction No Argument No Return Type No Argument With Return Type Concept of Call by Value and Call by Address/ Reference in C With Argument No Return Type With Argument With Return Type Call By Address Previous Next Function Introduction No Argument No Return Type No Argument With Return Type Concept of Call by

Function in C Read More »

PHP and MySQL

Mostly Asked Project Questions on PHP 1. What is your project topic?Ans. Tell your Project Topic in brief in two or three lines. 2. Why your project is unique from others?Ans. It is a very common question in most of the interviews. Mind it, the interviewer is focusing on listening to some different features that

PHP and MySQL Read More »