C & C++ questions and answers
Pointers, memory, templates and the standard library. Page 4 of 9.
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.
Answers 181-240
- How do function pointers in C work?
- How do I construct a functor for use with an algorithm like boost's brent_find_minima?
- How do I determine the size of my array in C?
- How do I iterate over a vector and also know the index of the element?
- How do I pass an OpenCV Mat into a C Tensorflow graph?
- How do I terminate a thread in C11?
- How do I use for_each to output to cout?
- How do I use the new C17 execution policies?
- How do nicely concat asynchronous network requests in Qt
- How do you declare an interface in C++?
- How do you pass a function as a parameter in C?
- How does one transfer CUDA constant memory in tensorflow's C API
- How does stdsort work for list of pairs?
- How is nth_element Implemented?
- How is the new asynchronous model in C26 different from existing models?
- How is vectorvectorint heavier than vectorpairint,int?
- How to atomically negate an stdatomic_bool?
- How to avoid heap pointer spaghetti in dynamic graphs?
- How to build and use Google TensorFlow C api
- How to call C from Swift?
- How to check if a stdthread is still running?
- How to check node name of tensorflow graph protocol buffers by c
- How to compress pointer ? eg. arbitrary bit pointer
- How to consume WinRT IAsyncOperation object in native c environment
- How to convert a stdstring to const char* or char*
- How to convert an instance of stdstring to lower case
- How to convert stdthreadid to string in c?
- How to deal with Kafka warning Error while loading kafka-streams-version.properties java.lang.NullPointerException inStream parameter is null
- How to do async file io in qt?
- How to do unsigned saturating addition in C?
- How to efficiently count the number of defined pointers?
- How to efficiently select a random element from a stdset
- How to establish a consistent hash ring with 300 million virtual nodes within 10 seconds with C++
- How to fill a tensor in C
- How to find Longest Common Substring using C
- How to find out if an item is present in a stdvector?
- How to find rank of an element in stl set in Ologn
- How to fit the 2D scatter data with a line with C
- How to fix Helm installation failed complaning about a nil pointer evaluating interface on fullnameOverride
- How to get a random element from a C++ container?
- how to get DNS server in c-ares
- How to get the iterator for a successful binary_search?
- How to get the minimum or maximum element in a vector of structures in C, based on some field in the structure
- How to get the number of CPUs in Linux using C?
- How to get the Transaction ID or relate message with Dialogic DSI library in C?
- How to handle missing 'emplace_range' in C0x STL?
- How to handle promise when calling async JS method from C using Emscripten
- How to implement a unmanaged thread-safe collection when I get this error mutex is not supported when compiling with /clr
- How to implement classic sorting algorithms in modern C?
- How to implement LFU cache using STL?
- How to implement strlen as fast as possible
- How to increase thread priority in pthreads?
- how to limit GPU usage in tensorflow r1.1 with C API
- How to load a graph with tensorflow.so and c_api.h in c language?
- How to move duplicates to the end of an array while preserving order in C?
- How to multithread C code
- How to obtain all subsequence combinations of a String in Java, or C etc
- How to parallelize stdpartition using TBB
- How to program with C API library on Windows using Bazel?
- How to remove the Xcode warning Apple Mach-O Linker Warning 'Pointer not aligned at address
.png&w=3840&q=75)
Free course
Beginner
7 lessons
2 hours
Tackling System Design Interview Problems
A short course that equips you with the skills to approach system design interviews methodically.
Start the free course