InterviewPitch
Land the job you want — prepare
with Real interviews Q&A
Curated interview questions, company-wise guides and coding rounds. Practice mock interviews, improve with feedback, and track your progress.
Q&A
Top curated interview packs
Company-wise & role-wise packs, quality assured.
Mock interview
AI scoring
Coding rounds
Top 10 sets
Beginner
1. What is V language?
V is a statically typed, compiled programming language focused on simplicity, safety, and performance.
Beginner
2. Who created V language?
V was created by Alexander Medvednikov in 2019.
Beginner
3. Is V compiled or interpreted?
V is a compiled language.
Beginner
4. How to print in V?
println("Hello World")Beginner
5. How to declare a variable in V?
name := "John"Beginner
6. What is mutable variable in V?
Variables are immutable by default. Use
mut to make them mutable.Beginner
7. What are data types in V?
int, string, bool, f32, f64, byte, rune and more.
Beginner
8. What is a function in V?
A reusable block of code declared using
fn.Beginner
9. Example of function in V?
Answer HereBeginner
10. What is array in V?
A collection of elements of same type. Example:
nums := [1,2,3]Beginner
11. What is map in V?
A key-value data structure. Example:
Answer HereBeginner
12. What is if statement in V?
Conditional execution using
if condition Beginner
13. What loops are available in V?
Only
for loop (used for all looping cases).Beginner
14. What is struct in V?
A custom data type grouping related fields.
Beginner
15. How to define struct?
Answer HereIntermediate
16. What is error handling in V?
V uses
! and or for error handling.Intermediate
17. Example of error handling?
Answer HereIntermediate
18. What is option type?
Represents a value that may or may not exist.
Intermediate
19. What is concurrency in V?
V supports lightweight threads using
go keyword.Intermediate
20. Example of concurrency?
go my_function()Intermediate
21. What is channel in V?
Used for communication between goroutines.
Intermediate
22. What is module in V?
A file grouping related code declared using
module name.Intermediate
23. What is public function?
Use
pub fn to make function public.Intermediate
24. What is interface in V?
A contract defining required method signatures.
Intermediate
25. What is generics in V?
Allows writing functions that work with multiple data types.
Intermediate
26. What is match in V?
Pattern matching similar to switch statement.
Intermediate
27. What is immutable by default?
Variables cannot be changed unless declared with
mut.Intermediate
28. What is string interpolation?
println("Hello $name")Intermediate
29. What is compile-time safety in V?
V ensures no null, no undefined behavior at compile time.
Intermediate
30. What is memory management in V?
V uses automatic memory management with minimal garbage collection.
Advanced
31. What is C interop in V?
V can directly call C code without wrappers.
Advanced
32. What is unsafe block?
Used for low-level memory operations:
unsafe Advanced
33. What is ORM in V?
V provides built-in ORM for database operations.
Advanced
34. What is vweb?
Built-in web framework in V for backend development.
Advanced
35. What is testing in V?
Test files end with
_test.v.Advanced
36. What is compile-time reflection?
V can inspect types during compilation.
Advanced
37. What is cross-compilation?
V can compile code for different operating systems easily.
Advanced
38. What is performance goal of V?
To match C-level performance.
Advanced
39. What is no null philosophy?
V avoids null references by design.
Advanced
40. What makes V unique?
Fast compilation, safety, simplicity, and C interoperability.
Coding Round
41. Print Hello World
println("Hello World")Coding Round
42. Add two numbers
Answer HereCoding Round
43. Check even or odd
Answer HereCoding Round
44. Loop through array
Answer HereCoding Round
45. Reverse string
println(name.reverse())Coding Round
46. Find length of string
println(name.len)Coding Round
47. Define struct and create object
Answer HereCoding Round
48. Use match statement
Answer HereCoding Round
49. Error handling example
Answer HereCoding Round
50. Run concurrent function
go fetch_data()