Interview Intel
Back to feed
HRT
HRT
Interview

HRT Intern

Anonymous Quant · Intern · Onsite #2
AskedJan 2026
SolvedSolved
LanguageC++
PostedApr 29, 2026
Given a const int*, write a function and function call that causes printing the dereferenced pointer to print 42. example: given something like const int* x; you want to write a function such that f(...) and then after this function call, printf("%d", *x) prints 42.