You have an image and you have to find the average of the image i.e. average of all the pixels into one pixel. The pixel has 3 values, R, G and B. Each R, G and B is a 8 bit number. Write the code for it in C.
Software Development Engineer Interview Questions
33,184 software development engineer interview questions shared by candidates
Given an array of a 999,999 numbers, from 1 to a 1,000,000, there's one number missing. The array is not sorted, and you can only access the array using a function getNumber(), which pops one number from the array. Each number in the array can only be accessed once. There's one number missing, from 1 to 1 million. which number is this?
How would you call fire brigade if your office catches fire? Consider you dont have internet, telephone, or any means of communication.
Given a linked list with cycle, find the cycle.
Find exist in maze or prove its non existence.
Phone interview question: In C, why is it considered bad form for a function to return a pointer to a stack-allocated variable? What happens if you do it anyway?
Given a string (understood to be a sentence), reverse the order of the words. "Hello world" becomes "world Hello"
explain virtual function call mechanism at memory level
Write a function to determine if a binary tree is balanced or not.
How can u measure the temperature outside when you stay inside?
Viewing 871 - 880 interview questions